application/Makefile

changeset 156
62f1a55535e7
parent 1
eb5269000bc8
child 157
0b33b9396851
--- 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 $<
 

mercurial