application/Makefile

branch
newapi
changeset 404
384f6d1f5784
parent 277
5099a34747c4
--- a/application/Makefile	Sat Nov 30 20:33:16 2024 +0100
+++ b/application/Makefile	Wed Dec 04 08:55:49 2024 +0100
@@ -33,13 +33,13 @@
 
 SRC = main.c
 
-OBJ = $(SRC:%.c=../build/application/%.$(OBJ_EXT))
+OBJ = $(SRC:%.c=../build/application/%$(OBJ_EXT))
 
 all: ../build/bin/mk12
 
 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a
 	$(CC) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS)
 
-../build/application/%.$(OBJ_EXT): %.c
-	$(CC) ../ucx $(CFLAGS) $(TK_CFLAGS) -o $@ -c $<
+../build/application/%$(OBJ_EXT): %.c
+	$(CC) $(CFLAGS) $(TK_CFLAGS) -o $@ -c $<
 

mercurial