diff options
author | Camil Staps | 2016-05-21 03:05:11 +0200 |
---|---|---|
committer | Camil Staps | 2016-05-21 03:05:11 +0200 |
commit | 5d66275fc1b119f6abe0c6efb538d34a7f0c606e (patch) | |
tree | c60ddb82b3e0c214a38bd7fad0cdc3a0a8be4dd6 /Makefile |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8ff77c4 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +CPM=cpm +CCFLAGS=-Wall -l -linotify +INO_OBJ=Clean\ System\ Files/inotify_c.o + +all: test + +$(INO_OBJ): inotify_c.c + mkdir -p Clean\ System\ Files + $(CC) $(CCFLAGS) -c $< -o Clean\ System\ Files/inotify_c.o + +test: test.icl $(wildcard *.*cl) $(INO_OBJ) + $(CPM) project $@.prj build + +run_test: test + ./test + +clean: + rm -rfv Clean\ System\ Files + +.PHONY: all run_test clean |