projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sistemai gli esempi delle pipe con i CGI, riscritto il testo
[gapil.git]
/
sources
/
Makefile
diff --git
a/sources/Makefile
b/sources/Makefile
index dd605131addd66556779dc7cf52125702daea5d3..5579f28c2066861df1190a79a3043fcce525e6df 100644
(file)
--- a/
sources/Makefile
+++ b/
sources/Makefile
@@
-8,7
+8,17
@@
CFLADJ=-c
OBJ = SockRead.o SockWrite.o
OBJ = SockRead.o SockWrite.o
-all: forktest errcode echo echod daytimed iterdaytimed daytime
+FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \
+ testren
+
+barcode: BarCode.c
+ $(CC) $(CFLAGS) $^ -o $@
+
+getparam: getparam.c
+ $(CC) $(CFLAGS) $^ -o $@
+
+all: $(FINAL)
+
testfopen: test_fopen.c
$(CC) $(CFLAGS) $^ -o $@
testfopen: test_fopen.c
$(CC) $(CFLAGS) $^ -o $@
@@
-40,13
+50,22
@@
daytime: SimpleDaytimeTCPClient.c
$(OBJ): wrappers.h
$(OBJ): wrappers.h
+# Macro per la generazione della tarball dei sorgenti
+package: clean gapil_source.tgz
+
+
+gapil_source.tgz:
+ tar --exclude=CVS -cvz . -f $@
+ mv $@ ..
+
.PHONY : clean
clean:
.PHONY : clean
clean:
- rm -f
daytime iterdaytimed daytimed echod echo errcode forktest
+ rm -f
$(FINAL)
rm -f *~
rm -f *.o
rm -f *~
rm -f *.o
-
+ rm -f prova*
+ rm -f output*