diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makerules | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -36,6 +36,8 @@ endif # Build commands # +CFLAGS += $(THIRD_INCS) + GENFILE_CMD = @ echo GENFILE $@ && $(firstword $^) $@ $(wordlist 2, 999, $^) CC_CMD = @ echo CC $@ && $(CC) -o $@ -c $< $(CFLAGS) LD_CMD = @ echo LD $@ && $(LD) -o $@ $^ $(LDFLAGS) $(LIBS) @@ -4,7 +4,7 @@ OS := $(shell uname) OS := $(OS:MINGW%=MINGW) LIBS := -lfreetype -ljbig2dec -lopenjpeg -ljpeg -lz -lm -CFLAGS := -Wall --std=gnu99 -Ifitz -Imupdf $(THIRD_INCS) +CFLAGS := -Wall --std=gnu99 -Ifitz -Imupdf LDFLAGS = CC = cc LD = $(CC) |