]> Pileus Git - ~andy/ct/blobdiff - gallery/makefile
Convert to plain old make
[~andy/ct] / gallery / makefile
diff --git a/gallery/makefile b/gallery/makefile
new file mode 100644 (file)
index 0000000..15f624d
--- /dev/null
@@ -0,0 +1,15 @@
+# Settings
+CT        = ../ct
+PROG      = gallery
+SOURCES   = gallery.c html.c ../lib.c
+CPPFLAGS  = -I..
+PKGS      = glib-2.0
+
+# Targets
+test: gallery
+       QUERY_STRING=foo ./gallery
+
+# Rules
+../lib.o: CFLAGS += -Wno-format
+
+include ../common.mk