application/Makefile

changeset 32
e5f4d8af567e
parent 0
2483f517c562
child 55
1ce14068ef31
--- a/application/Makefile	Mon Feb 12 21:13:23 2024 +0100
+++ b/application/Makefile	Sun Jun 09 15:43:08 2024 +0200
@@ -29,17 +29,23 @@
 BUILD_ROOT = ..
 include ../config.mk
 
-CFLAGS += -I../ui/ -I../ucx
+CFLAGS += -I../ui/ -I../ucx -I..
 
-SRC = main.c
+SRC  = main.c
+SRC += application.c
+SRC += config.c
+SRC += davcontroller.c
+SRC += pwd.c
+SRC += system.c
+SRC += window.c
 
 OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT))
 
 all: ../build/bin/mk12
 
 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a
-	$(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS)
+	$(CC) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx -lidav $(LDFLAGS) $(TK_LDFLAGS) $(DAV_LDFLAGS)
 
 ../build/application/%.$(OBJ_EXT): %.c
-	$(CC) ../ucx $(CFLAGS) $(TK_CFLAGS) -o $@ -c $<
+	$(CC) ../ucx $(CFLAGS) $(TK_CFLAGS) $(DAV_CFLAGS) -o $@ -c $<
 

mercurial