mirror of
https://github.com/LucasVbr/postscript-compiler.git
synced 2026-05-13 17:22:00 +00:00
Edit Makefiles
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
SRC_FOLDER=src/
|
||||
TEST_FOLDER=tests/
|
||||
|
||||
all: compile
|
||||
|
||||
compile:
|
||||
$(MAKE) -C $(SRC_FOLDER)
|
||||
|
||||
|
||||
.PHONY: clean tests
|
||||
|
||||
tests: compile
|
||||
./$(SRC_FOLDER)comp ./$(TEST_FOLDER)rectangles.c ./$(TEST_FOLDER)out/rectangles.ps
|
||||
./$(SRC_FOLDER)comp ./$(TEST_FOLDER)progsimple.c ./$(TEST_FOLDER)out/progsimple.ps
|
||||
|
||||
clean:
|
||||
$(MAKE) $@ -C $(SRC_FOLDER)
|
||||
Reference in New Issue
Block a user