summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4c67769
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+# cqrlogo - CGI QR-Code logo for web services
+
+CC := gcc
+CFLAGS += $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) \
+ $(shell pkg-config --cflags --libs libqrencode)
+
+all: cqrlogo.c
+ $(CC) $(CFLAGS) -o cqrlogo cqrlogo.c
+
+clean:
+ /bin/rm -f *.o *~ cqrlogo