]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - ccan/antithread/examples/Makefile
Add antithread. Not finished, but useful as example of module whose
[ccan-lca-2011.git] / ccan / antithread / examples / Makefile
diff --git a/ccan/antithread/examples/Makefile b/ccan/antithread/examples/Makefile
new file mode 100644 (file)
index 0000000..4039185
--- /dev/null
@@ -0,0 +1,12 @@
+CFLAGS=-g -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 $@ $^ 
+
+dns_lookup: dns_lookup.c ../../../libccan.a
+       $(CC) $(CFLAGS) -o $@ $^