PL=./cosmos -l main: swipl --goal=main --stand_alone=true -o cosmos.exe -c cosmos_init.pl local: swipl -f comp.pl -g "comp(\"main\"),halt" swipl --goal=main --stand_alone=true -o cosmos.exe -c cosmos_init.pl 2: swipl -f comp.pl -g "comp(\"main\"),halt" swipl --goal=main --stand_alone=true -o cosmos.exe -c cosmos.pl 3: swipl -f comp.pl -g "comp3(\"main\"),halt" swipl --goal=main --stand_alone=true -o cosmos.exe -c cosmos.pl all: $(PL) io $(PL) string $(PL) list $(PL) lexer pack: cp io.pl prolog cp string.pl prolog/ cp list.pl prolog/ cp lexer.pl prolog/ cp *.pl prolog/ test: ./p nil ./p2 nil ./cosmos -l test8 ./cosmos -l test9 ./cosmos -l test1 ./cosmos -l test3 c: #./p c0 c10 $(C) 10 12 $(C) 12 2 clean: rm *.exe *.exe.stackdump rm *.qlf* rm test*.pl co: ./gen 12 cosmos 1: $(C) $(CFLAGS) io $(C) $(CFLAGS) string $(C) $(CFLAGS) list