--- a/application/Makefile Fri Nov 09 17:11:12 2018 +0100 +++ b/application/Makefile Mon Feb 04 14:46:11 2019 +0100 @@ -26,7 +26,7 @@ # POSSIBILITY OF SUCH DAMAGE. # -BUILD_ROOT = .. +BUILD_ROOT = ../ include ../config.mk CFLAGS += -I../ui/ @@ -38,8 +38,8 @@ all: ../build/bin/mk12 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a - $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) + $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS) ../build/application/%.$(OBJ_EXT): %.c - $(CC) $(CFLAGS) -I../ -o $@ -c $< + $(CC) $(CFLAGS) $(TK_CFLAGS) -I../ -o $@ -c $<