]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
Makefile: Define CFLAGS_FORCE_C_SOURCE macro
[ccan] / Makefile-ccan
index e71f3a178fa78af8dcb2c34c971c4a0214a84fa6..d4a55286eae1b9844647feb73b4c38c3234162d7 100644 (file)
@@ -5,6 +5,7 @@
 #CCAN_CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wundef -DCCAN_STR_DEBUG=1
 CCAN_CFLAGS=-g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wundef -DCCAN_STR_DEBUG=1
 CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN)
+CFLAGS_FORCE_C_SOURCE = -x c
 
 MODS := a_star \
        aga \
@@ -42,7 +43,9 @@ MODS := a_star \
        crcsync \
        crypto/ripemd160 \
        crypto/sha256 \
+       crypto/sha512 \
        crypto/shachain \
+       crypto/siphash24 \
        daemonize \
        daemon_with_notify \
        darray \
@@ -122,6 +125,7 @@ MODS := a_star \
        time \
        timer \
        tlist \
+       tlist2 \
        ttxml \
        typesafe_cb \
        version \