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) |
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) |
41 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) |
42 |
42 |
43 ../build/application/%.$(OBJ_EXT): %.c |
43 ../build/application/%.$(OBJ_EXT): %.c |
44 $(CC) $(CFLAGS) -I../ -o $@ -c $< |
44 $(CC) $(CFLAGS) -I../ -o $@ -c $< |
45 |
45 |