ref: 6e0169903074f63c2a6d100520fd86fdf523429e
parent: ea12f7d7e47cb958ab7756ec9aaa2d6d10a19735
author: mkf <mkf@cloud9p.org>
date: Sun May 19 13:57:25 EDT 2024
Makefile: make poor old server as well....
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,10 @@
netclient.o\
Cli= cli.o
-Srv= srv4.o
+Srv4= srv4.o
+Srv= srv.o
-all: cli srv
+all: cli srv4
%.o: %.c %.h
$(CC) $(CFLAGS) -c $< -o $@
@@ -18,7 +19,10 @@
cli: ${Cli} ${Lib}
$(CC) $(CFLAGS) -o $@ ${Cli} ${Lib}
-srv4: ${Srv} ${Lib}
+srv4: ${Srv4} ${Lib}
+ $(CC) $(CFLAGS) -o $@ ${Srv4} ${Lib}
+
+srv: ${Srv} ${Lib}
$(CC) $(CFLAGS) -o $@ ${Srv} ${Lib}
clean: