X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2Fexamples%2FMakefile;h=ab6715596440486a10661cdace5c2313d9059352;hp=4039185386e83ae074d0a05813da79eef02bd30d;hb=1f6476b05d7429d0363cb0157b8df4d9fdc690e1;hpb=74e9da4d1c0b968fbac4b8da165e6ad5318329dd diff --git a/ccan/antithread/examples/Makefile b/ccan/antithread/examples/Makefile index 40391853..ab671559 100644 --- a/ccan/antithread/examples/Makefile +++ b/ccan/antithread/examples/Makefile @@ -1,12 +1,7 @@ -CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -I../../.. +CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -I../../.. ../../talloc.o ../../alloc.o ../../noerr.o ../../read_write_all.o ../../antithread.o # -O3 +LDLIBS=-ljpeg -lm -all: find_md5 md5_worker dns_lookup +all: dns_lookup arabella -find_md5: md5_server.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ - -md5_worker: md5_worker.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ - -dns_lookup: dns_lookup.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ +clean: + rm -f dns_lookup arabella