diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,13 +1,18 @@ CFLAGS=-O0 -Wall -std=c99 CLM=clm -CLMFLAGS=-I /opt/clean/lib/StdLib/ -l -lpcre2-8 +CLMFLAGS=-I $$CLEAN_HOME/lib/StdEnv \ + -I $$CLEAN_HOME/lib/clean-platform/OS-Independent \ + -I $$CLEAN_HOME/lib/Generics \ + -I $$CLEAN_HOME/lib/Dynamics \ + -dynamics -all: test Clean\ System\ Files/regex.o +all: test Clean\ System\ Files/cleanregex.o -Clean\ System\ Files/regex.o: regex.c regex.h +Clean\ System\ Files/cleanregex.o: cleanregex.c cleanregex.h + mkdir -p Clean\ System\ Files $(CC) $(CFLAGS) -c $< -o "$@" -test: test.icl Regex.dcl Regex.icl Clean\ System\ Files/regex.o +test: test.icl Regex.dcl Regex.icl Clean\ System\ Files/cleanregex.o $(CLM) $(CLMFLAGS) $@ -o $@ run_test: test @@ -17,4 +22,3 @@ clean: rm -frv Clean\ System\ Files test .PHONY: all clean run_test - |