X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FMakefile;h=1704f20cc9cd1c6841f0f5d360a222aec9e55e9d;hp=d572d49ba65142a6b1fe5e73ea55833c5bb97931;hb=ee350fdc6822ea17657d0e1598faa3e56c8d6e9b;hpb=7463fc5258c5afb139286c2509f5161bc0d76290 diff --git a/sources/Makefile b/sources/Makefile index d572d49..1704f20 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -2,7 +2,7 @@ # Simple Makefile to build examples # # C flags -CC=gcc +CC=gcc -DDEBUG CFLAGS= -Wall -g CFLADJ=-c @@ -11,10 +11,16 @@ OBJ = SockRead.o SockWrite.o FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ 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 +fortuned: FortuneServer.c FortuneParse.c $(CC) $^ -o $@ barcode: BarCode.c @@ -37,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 @@ -77,14 +83,3 @@ clean: rm -f *.o rm -f prova* rm -f output* - - - - - - - - - - -