X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FMakefile;h=b13e6698b79ee2f4c3bdb1471aadb881943ad0b4;hp=dd605131addd66556779dc7cf52125702daea5d3;hb=8afc898ae5530e3ef1073505c894bb1b738ec916;hpb=8adf4f92973a386429c44349c48bfa1812915fb7 diff --git a/sources/Makefile b/sources/Makefile index dd60513..b13e669 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -8,7 +8,11 @@ CFLADJ=-c OBJ = SockRead.o SockWrite.o -all: forktest errcode echo echod daytimed iterdaytimed daytime +FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ + testren + + +all: $(FINAL) testfopen: test_fopen.c $(CC) $(CFLAGS) $^ -o $@ @@ -40,13 +44,22 @@ daytime: SimpleDaytimeTCPClient.c $(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: - rm -f daytime iterdaytimed daytimed echod echo errcode forktest + rm -f $(FINAL) rm -f *~ rm -f *.o - + rm -f prova* + rm -f output*