add prefix to common object files

3 days ago

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 30 Mar 2025 11:28:24 +0200 (3 days ago)
changeset 534
21f8a7656f6a
parent 533
951b92ce3708
child 535
ede57f5b6178

add prefix to common object files

ui/Makefile file | annotate | diff | comparison | revisions
ui/common/objs.mk file | annotate | diff | comparison | revisions
--- a/ui/Makefile	Sun Mar 30 10:45:56 2025 +0200
+++ b/ui/Makefile	Sun Mar 30 11:28:24 2025 +0200
@@ -42,6 +42,6 @@
 
 include $(TOOLKIT)/Makefile
 
-$(COMMON_OBJPRE)%$(OBJ_EXT): common/%.c
+$(COMMON_OBJPRE)uic_%$(OBJ_EXT): common/%.c
 	$(CC) -o $@ -c -I../ucx/ $(CFLAGS) $(TK_CFLAGS) $<
 
--- a/ui/common/objs.mk	Sun Mar 30 10:45:56 2025 +0200
+++ b/ui/common/objs.mk	Sun Mar 30 11:28:24 2025 +0200
@@ -41,6 +41,6 @@
 COMMON_OBJ += threadpool$(OBJ_EXT)
 COMMON_OBJ += condvar$(OBJ_EXT)
 
-TOOLKITOBJS += $(COMMON_OBJ:%=$(COMMON_OBJPRE)%)
+TOOLKITOBJS += $(COMMON_OBJ:%=$(COMMON_OBJPRE)uic_%)
 TOOLKITSOURCE += $(COMMON_OBJ:%$(OBJ_EXT)=common/%.c)
 

mercurial