X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2Fexamples%2FMakefile;h=ab6715596440486a10661cdace5c2313d9059352;hp=f562dd78407fff95bfb1c5fecdec33b20549a82b;hb=1f6476b05d7429d0363cb0157b8df4d9fdc690e1;hpb=9f43b2f8b54f9c8a31efad0cf487d49fd2cfbbeb diff --git a/ccan/antithread/examples/Makefile b/ccan/antithread/examples/Makefile index f562dd78..ab671559 100644 --- a/ccan/antithread/examples/Makefile +++ b/ccan/antithread/examples/Makefile @@ -1,9 +1,7 @@ -CFLAGS=-g -O3 -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: dns_lookup +all: dns_lookup arabella -dns_lookup: dns_lookup.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ - -arabella: arabella.c ../../../libccan.a - $(CC) $(CFLAGS) -o $@ $^ -ljpeg -lm +clean: + rm -f dns_lookup arabella