application/Makefile

changeset 4
d8e8f34e65ee
parent 3
c04433993fbb
equal deleted inserted replaced
3:c04433993fbb 4:d8e8f34e65ee
40 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT)) 40 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT))
41 41
42 all: ../build/bin/mk12 42 all: ../build/bin/mk12
43 43
44 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a 44 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a
45 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS) 45 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(NOTE_LDFLAGS) $(TK_LDFLAGS)
46 46
47 ../build/application/%.$(OBJ_EXT): %.c 47 ../build/application/%.$(OBJ_EXT): %.c
48 $(CC) $(CFLAGS) $(TK_CFLAGS) -o $@ -c $< 48 $(CC) $(CFLAGS) $(NOTE_CFLAGS) $(TK_CFLAGS) -o $@ -c $<
49 49

mercurial