X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2FMakefile;h=5579f28c2066861df1190a79a3043fcce525e6df;hb=c00fca809a709ea67ab3dfdede3a83ead0a9fcaf;hp=64293b7229d4c45f266e6655a0e170c66742496e;hpb=54d27b07aee6d293931ee274a3ede927f517f2cf;p=gapil.git diff --git a/sources/Makefile b/sources/Makefile index 64293b7..5579f28 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -8,7 +8,23 @@ 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 + +barcode: BarCode.c + $(CC) $(CFLAGS) $^ -o $@ + +getparam: getparam.c + $(CC) $(CFLAGS) $^ -o $@ + +all: $(FINAL) + + +testfopen: test_fopen.c + $(CC) $(CFLAGS) $^ -o $@ + +testren: TestRen.c + $(CC) $(CFLAGS) $^ -o $@ forktest: ForkTest.c $(CC) $(CFLAGS) $^ -o $@ @@ -34,13 +50,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*