aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2010-10-17 13:48:02 +0200
committerGravatar Tom Willemsen2010-10-17 13:48:02 +0200
commit767ca99d338cddf3dff25d31e54739dbff400ad8 (patch)
treeca1aafc8d2a3c203041e08dbdecfea176e5179f9 /src/Makefile
downloadeye-on-manga-767ca99d338cddf3dff25d31e54739dbff400ad8.tar.gz
eye-on-manga-767ca99d338cddf3dff25d31e54739dbff400ad8.zip
Initial commit
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..24b89b6
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,16 @@
+CFLAGS=`pkg-config hildon-1 --cflags --libs`
+
+all:
+ $(CC) -Wall -Wextra -pedantic \
+ collections.c \
+ interface.c \
+ c-main-window.c \
+ c-new-item-dialog.c \
+ $(CFLAGS) \
+ -o collections
+
+.PHONY: check-syntax
+check-syntax:
+ /scratchbox/login $(CC) -pedantic -Wall -Wextra -fsyntax-only \
+ `readlink -f $(CHK_SOURCES)` \
+ `/scratchbox/login pkg-config hildon-1 --cflags --libs`