diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..55207f6 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CFLAGS=-O0 + +CLM=clm +CLMFLAGS=-ns -no-opt-link -l cleanc.o -l /usr/lib/x86_64-linux-gnu/libelf.so.1 + +all: cleanc.o + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +test: test.icl cleanc.icl cleanc.dcl cleanc.o + $(CLM) $(CLMFLAGS) test -o test + +clean: + rm -frv *.o test Clean\ System\ Files + +.PHONY: all clean + |