X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2Fexamples%2FMakefile;h=f562dd78407fff95bfb1c5fecdec33b20549a82b;hp=4039185386e83ae074d0a05813da79eef02bd30d;hb=d65da2dbb4c43bd7c0e83e299b374acd6bff54f9;hpb=3fb9ac9349703401a6b2c3e969f3bc9bdb9d1eae diff --git a/ccan/antithread/examples/Makefile b/ccan/antithread/examples/Makefile index 40391853..f562dd78 100644 --- a/ccan/antithread/examples/Makefile +++ b/ccan/antithread/examples/Makefile @@ -1,12 +1,9 @@ -CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -I../../.. +CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -I../../.. -all: find_md5 md5_worker dns_lookup - -find_md5: md5_server.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ - -md5_worker: md5_worker.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ +all: dns_lookup dns_lookup: dns_lookup.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ + $(CC) $(CFLAGS) -o $@ $^ + +arabella: arabella.c ../../../libccan.a + $(CC) $(CFLAGS) -o $@ $^ -ljpeg -lm