application/Makefile

changeset 32
e5f4d8af567e
parent 0
2483f517c562
child 55
1ce14068ef31
equal deleted inserted replaced
31:bf810176ddb8 32:e5f4d8af567e
27 # 27 #
28 28
29 BUILD_ROOT = .. 29 BUILD_ROOT = ..
30 include ../config.mk 30 include ../config.mk
31 31
32 CFLAGS += -I../ui/ -I../ucx 32 CFLAGS += -I../ui/ -I../ucx -I..
33 33
34 SRC = main.c 34 SRC = main.c
35 SRC += application.c
36 SRC += config.c
37 SRC += davcontroller.c
38 SRC += pwd.c
39 SRC += system.c
40 SRC += window.c
35 41
36 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT)) 42 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT))
37 43
38 all: ../build/bin/mk12 44 all: ../build/bin/mk12
39 45
40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a 46 ../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) 47 $(CC) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx -lidav $(LDFLAGS) $(TK_LDFLAGS) $(DAV_LDFLAGS)
42 48
43 ../build/application/%.$(OBJ_EXT): %.c 49 ../build/application/%.$(OBJ_EXT): %.c
44 $(CC) ../ucx $(CFLAGS) $(TK_CFLAGS) -o $@ -c $< 50 $(CC) ../ucx $(CFLAGS) $(TK_CFLAGS) $(DAV_CFLAGS) -o $@ -c $<
45 51

mercurial