X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2FMakefile;h=1704f20cc9cd1c6841f0f5d360a222aec9e55e9d;hb=65a5b6a82bdcfeefa6ebc270fe759f3a38560d33;hp=7ce1d44acdcdb9081d4c9d5a472aa7f9e0aaf0bf;hpb=7b5118a8c6ff15e5fcdc1a70a27ead7fcd35830b;p=gapil.git diff --git a/sources/Makefile b/sources/Makefile index 7ce1d44..1704f20 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -2,14 +2,33 @@ # 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 + +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 +43,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 +83,3 @@ clean: rm -f *.o rm -f prova* rm -f output* - - - - - - - - - - -