application/Makefile

changeset 511
11004f307eae
parent 510
9f562a7de4a2
child 514
f1662be4eab6
equal deleted inserted replaced
510:9f562a7de4a2 511:11004f307eae
35 35
36 OBJ = $(SRC:%.c=../build/application/%$(OBJ_EXT)) 36 OBJ = $(SRC:%.c=../build/application/%$(OBJ_EXT))
37 37
38 all: ../build/bin/mk12 38 all: ../build/bin/mk12
39 39
40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk$(LIB_EXT) 40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/$(LIB_PREFIX)uitk$(LIB_EXT)
41 $(CC) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS) 41 $(CC) -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) -o $@ -c $< 44 $(CC) $(CFLAGS) $(TK_CFLAGS) -o $@ -c $<
45 45

mercurial