X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FMakefile;h=7ce1d44acdcdb9081d4c9d5a472aa7f9e0aaf0bf;hp=c1976a795e2b77696bac040b2ffe9d88b01be287;hb=7b5118a8c6ff15e5fcdc1a70a27ead7fcd35830b;hpb=0d1802dcd969187e6133ba143ebc473c9fefc259 diff --git a/sources/Makefile b/sources/Makefile index c1976a7..7ce1d44 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -8,6 +8,22 @@ CFLADJ=-c OBJ = SockRead.o SockWrite.o +FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ + testren + + +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 $@ @@ -32,13 +48,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 + rm -f $(FINAL) rm -f *~ rm -f *.o - + rm -f prova* + rm -f output*