+.config/yt-dlp.conf
[nethome.git] / src / Makefile
index 21974c2..5625e19 100644 (file)
@@ -1 +1,20 @@
-CFLAGS=-Wall -Wstrict-prototypes -ggdb3 #-O2
+CFLAGS=
+CFLAGS+=-Wall -Wstrict-prototypes -ggdb3
+#CFLAGS+=-pedantic -ansi -traditional -Wall -Wstrict-prototype
+#CFLAGS+=-O9 -fexpensive-optimizations -finline-functions
+#CFLAGS+=-pg
+
+all: streamfer-server streamfer-client
+# yasm2gas unmime flock pipebuf
+
+pipebuf: pipebuf.c
+       sh $<
+
+yasm2gas: yasm2gas.c
+       gcc -o $@ -Wall -g $<
+
+streamfer-server: streamfer-server.C streamfer.h streamfer.C safeio.C safeio.h socket.C socket.h stringf.h
+       clang++ -o $@ -Wall -g streamfer-server.C streamfer.C safeio.C socket.C
+
+streamfer-client: streamfer-client.C streamfer.h streamfer.C safeio.C safeio.h socket.C socket.h stringf.h
+       clang++ -o $@ -Wall -g streamfer-client.C streamfer.C safeio.C socket.C