add WS_CFLAGS to admin makefile

Mon, 10 Jul 2023 18:52:28 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 10 Jul 2023 18:52:28 +0200
changeset 506
696246f5758f
parent 505
d41fc7f37aed
child 507
4b3ac9249394

add WS_CFLAGS to admin makefile

src/server/admin/Makefile file | annotate | diff | comparison | revisions
--- a/src/server/admin/Makefile	Mon Jul 10 18:51:01 2023 +0200
+++ b/src/server/admin/Makefile	Mon Jul 10 18:52:28 2023 +0200
@@ -29,8 +29,8 @@
 ADMIN_CFLAGS = 
 
 $(ADMIN_OBJPRE)%.o: admin/%.c
-	$(CC) -o $@ -c $(ADMIN_CFLAGS) $(CFLAGS) $<
+	$(CC) -o $@ -c $(WS_CFLAGS) $(ADMIN_CFLAGS) $(CFLAGS) $<
 
 $(ADMIN_OBJPRE)%.o: admin/%.cpp
-	$(CXX) -o $@ -c $(ADMIN_CFLAGS) $(CFLAGS) $<
+	$(CXX) -o $@ -c $(WS_CFLAGS) $(ADMIN_CFLAGS) $(CFLAGS) $<
 	

mercurial