application/Makefile

changeset 157
0b33b9396851
parent 156
62f1a55535e7
child 174
0358f1d9c506
equal deleted inserted replaced
156:62f1a55535e7 157:0b33b9396851
27 # 27 #
28 28
29 BUILD_ROOT = ../ 29 BUILD_ROOT = ../
30 include ../config.mk 30 include ../config.mk
31 31
32 CFLAGS += -I../ui/ 32 CFLAGS += -I../ui/ -I../ucx
33 33
34 SRC = main.c 34 SRC = main.c
35 35
36 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT)) 36 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT))
37 37
39 39
40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a 40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a
41 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS) 41 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS)
42 42
43 ../build/application/%.$(OBJ_EXT): %.c 43 ../build/application/%.$(OBJ_EXT): %.c
44 $(CC) $(CFLAGS) $(TK_CFLAGS) -I../ -o $@ -c $< 44 $(CC) $(CFLAGS) $(TK_CFLAGS) -o $@ -c $<
45 45

mercurial