ui/Makefile

changeset 103
6606616eca9f
parent 0
2483f517c562
--- a/ui/Makefile	Tue Feb 25 21:11:00 2025 +0100
+++ b/ui/Makefile	Sat Apr 05 16:46:11 2025 +0200
@@ -33,7 +33,7 @@
 
 include common/objs.mk
 
-UI_LIB = ../build/lib/libuitk$(LIB_EXT)
+UI_LIB = ../build/lib/$(LIB_PREFIX)uitk$(LIB_EXT)
 
 include $(TOOLKIT)/objs.mk
 OBJ = $(TOOLKITOBJS) $(COMMONOBJS)
@@ -42,6 +42,6 @@
 
 include $(TOOLKIT)/Makefile
 
-$(COMMON_OBJPRE)%.o: common/%.c
+$(COMMON_OBJPRE)uic_%$(OBJ_EXT): common/%.c
 	$(CC) -o $@ -c -I../ucx/ $(CFLAGS) $(TK_CFLAGS) $<
 

mercurial