X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2FMakefile;h=e2c933175b2afb03f70d514e8d5be5455c11e794;hb=4f9ab0c82d752ad7398bc62ba2acfc66ce258331;hp=7ce1d44acdcdb9081d4c9d5a472aa7f9e0aaf0bf;hpb=7b5118a8c6ff15e5fcdc1a70a27ead7fcd35830b;p=gapil.git diff --git a/sources/Makefile b/sources/Makefile index 7ce1d44..e2c9331 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -2,14 +2,36 @@ # Simple Makefile to build examples # # C flags -CC=gcc +CC=gcc -DDEBUG CFLAGS= -Wall -g CFLADJ=-c OBJ = SockRead.o SockWrite.o FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ - testren + testren fortune fortuned + +flock: Flock.c + $(CC) $^ -o $@ + +mqfortune: MQFortuneClient.c + $(CC) $^ -o $@ + +mqfortuned: MQFortuneServer.c FortuneParse.c + $(CC) $^ -o $@ + +fortune: FortuneClient.c + $(CC) $^ -o $@ + +fortuned: FortuneServer.c FortuneParse.c + $(CC) $^ -o $@ + +barcode: BarCode.c + $(CC) $(CFLAGS) $^ -o $@ + + +barcodepage: BarCodePage.c + $(CC) $(CFLAGS) $^ -o $@ getparam: getparam.c @@ -24,7 +46,7 @@ testfopen: test_fopen.c testren: TestRen.c $(CC) $(CFLAGS) $^ -o $@ -forktest: ForkTest.c +forktest: ForkTest.c HandSIGCHLD.c $(CC) $(CFLAGS) $^ -o $@ errcode: ErrCode.c @@ -64,14 +86,3 @@ clean: rm -f *.o rm -f prova* rm -f output* - - - - - - - - - - -