X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FMakefile;h=1704f20cc9cd1c6841f0f5d360a222aec9e55e9d;hp=e74f482bc438130f6fcb39b3d4552df419c496ec;hb=ee350fdc6822ea17657d0e1598faa3e56c8d6e9b;hpb=198add70c8604fe7ffb05689aa693d782102917e diff --git a/sources/Makefile b/sources/Makefile index e74f482..1704f20 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -2,27 +2,35 @@ # 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 -all: fortune fortuned +mqfortune: MQFortuneClient.c + $(CC) $^ -o $@ -fortune: FortuneClient.c +mqfortuned: MQFortuneServer.c FortuneParse.c $(CC) $^ -o $@ -fortuned: FortuneServer.c FortuneParse.c +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 $(CC) $(CFLAGS) $^ -o $@ @@ -35,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 @@ -75,14 +83,3 @@ clean: rm -f *.o rm -f prova* rm -f output* - - - - - - - - - - -