From 767ca99d338cddf3dff25d31e54739dbff400ad8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 17 Oct 2010 13:48:02 +0200 Subject: Initial commit --- src/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') 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` -- cgit v1.3-2-g0d8e