mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 17:27:33 +02:00
Changing test rules to actually run, adding code to clean to remove test.txt
This commit is contained in:
parent
0595fcdb83
commit
e99e09d8f7
1 changed files with 2 additions and 6 deletions
8
Makefile
8
Makefile
|
@ -19,12 +19,8 @@ TEST_DIR = tests
|
||||||
SLDFILES = $(wildcard scheme/*.sld) $(wildcard srfi/*.sld)
|
SLDFILES = $(wildcard scheme/*.sld) $(wildcard srfi/*.sld)
|
||||||
COBJECTS = $(SLDFILES:.sld=.o)
|
COBJECTS = $(SLDFILES:.sld=.o)
|
||||||
HEADERS = $(HEADER_DIR)/runtime.h $(HEADER_DIR)/types.h
|
HEADERS = $(HEADER_DIR)/runtime.h $(HEADER_DIR)/types.h
|
||||||
EXAMPLE_SRC = $(wildcard $(EXAMPLE_DIR)/*.scm) \
|
|
||||||
$(wildcard $(EXAMPLE_DIR)/networking/*.scm) \
|
|
||||||
$(wildcard $(EXAMPLE_THREADING_DIR)/*.scm)
|
|
||||||
EXAMPLES = $(patsubst %.scm,%,$(EXAMPLE_SRC))
|
|
||||||
TEST_SRC = $(TEST_DIR)/unit-tests.scm $(TEST_DIR)/srfi-60-tests.scm
|
TEST_SRC = $(TEST_DIR)/unit-tests.scm $(TEST_DIR)/srfi-60-tests.scm
|
||||||
TESTS = $(patsubsts %.scm,%,$(TEST_SRC))
|
TESTS = $(basename $(TEST_SRC))
|
||||||
|
|
||||||
# Primary rules (of interest to an end user)
|
# Primary rules (of interest to an end user)
|
||||||
|
|
||||||
|
@ -36,7 +32,7 @@ example :
|
||||||
cd $(EXAMPLE_DIR) ; make
|
cd $(EXAMPLE_DIR) ; make
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
rm -rf a.out *.o *.a *.out tags cyclone icyc scheme/*.o scheme/*.c scheme/*.meta srfi/*.c srfi/*.meta srfi/*.o scheme/cyclone/*.o scheme/cyclone/*.c scheme/cyclone/*.meta cyclone.c dispatch.c icyc.c generate-c.c generate-c
|
rm -rf test.txt a.out *.o *.a *.out tags cyclone icyc scheme/*.o scheme/*.c scheme/*.meta srfi/*.c srfi/*.meta srfi/*.o scheme/cyclone/*.o scheme/cyclone/*.c scheme/cyclone/*.meta cyclone.c dispatch.c icyc.c generate-c.c generate-c
|
||||||
cd $(EXAMPLE_DIR) ; make clean
|
cd $(EXAMPLE_DIR) ; make clean
|
||||||
|
|
||||||
install : libs install-libs install-includes install-bin
|
install : libs install-libs install-includes install-bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue