diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 16 |
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` |