X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FMakefile;h=e2c933175b2afb03f70d514e8d5be5455c11e794;hp=cd22c1406c2b16a9f8bc3f9e922741972650bf9c;hb=32564231c62ef917086f71a223a1847c859edf0e;hpb=6c8d59152cff88b5835eeb749445148bb3546a5b diff --git a/sources/Makefile b/sources/Makefile index cd22c14..e2c9331 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,19 @@ OBJ = SockRead.o SockWrite.o FINAL = forktest errcode echo echod daytimed iterdaytimed daytime testfopen \ 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 +fortuned: FortuneServer.c FortuneParse.c $(CC) $^ -o $@ barcode: BarCode.c @@ -77,14 +86,3 @@ clean: rm -f *.o rm -f prova* rm -f output* - - - - - - - - - - -