Update Makefile to not include GDK/GTK crap
This commit is contained in:
parent
f295bf1001
commit
1900489d7d
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -25,11 +25,10 @@ BUILD_RELEASE_DIR=.release
|
|||
|
||||
CC=gcc -m32
|
||||
|
||||
override BASE_CFLAGS += -Dstricmp=strcasecmp -Wunused -I./include/ `pkg-config --cflags gtk+-2.0`
|
||||
override BASE_CFLAGS += -Dstricmp=strcasecmp -Wunused -I./include/
|
||||
RELEASE_CFLAGS=$(BASE_CFLAGS) -funroll-loops -ffast-math -fomit-frame-pointer -funsigned-char -fno-strength-reduce
|
||||
DEBUG_CFLAGS=$(BASE_CFLAGS) -g
|
||||
override LDFLAGS += -lm -ldl -lSDL
|
||||
XLDFLAGS=`pkg-config --libs gtk+-2.0`
|
||||
|
||||
DO_CC=$(CC) $(CFLAGS) -o $@ -c $<
|
||||
DO_DEBUG_CC=$(CC) $(DEBUG_CFLAGS) -o $@ -c $<
|
||||
|
@ -183,7 +182,7 @@ NGUNIX_OBJS = \
|
|||
$(BUILDDIR)/nvs_server_data.o
|
||||
|
||||
$(MASTER_DIR)/ngunix.x86 : $(NGUNIX_OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $(NGUNIX_OBJS) $(XLDFLAGS) $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) -o $@ $(NGUNIX_OBJS) $(LDFLAGS)
|
||||
|
||||
$(BUILDDIR)/atexit.o : $(MOUNT_DIR)/../tracker/core/atexit.c
|
||||
$(DO_DUMB)
|
||||
|
|
Loading…
Reference in a new issue