makefile enhancements
This commit is contained in:
parent
b83f9a66dc
commit
3ba3fa5997
6
Makefile
6
Makefile
|
@ -20,9 +20,9 @@ $(TARGET): $(OBJS)
|
|||
$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
|
||||
test: all
|
||||
(cd tests; make test)
|
||||
(cd tests; make csmith)
|
||||
(cd tests; make jpoirier)
|
||||
@(cd tests; make -s test)
|
||||
@(cd tests; make -s csmith)
|
||||
@(cd tests; make -s jpoirier)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) $(OBJS) *~
|
||||
|
|
|
@ -90,11 +90,20 @@ include jpoirier/Makefile
|
|||
all: test
|
||||
|
||||
test: $(TESTS)
|
||||
@echo "test passed"
|
||||
@echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||
@echo "%%%%%%%%%%%% Tests Passed %%%%%%%%%%%%"
|
||||
@echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||
@echo
|
||||
|
||||
csmith: $(CSMITH_TESTS)
|
||||
@echo "CSmith test passed"
|
||||
@echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||
@echo "%%%%%%%%%%%% CSmith Tests Passed %%%%%%%%%%%%"
|
||||
@echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||
@echo
|
||||
|
||||
jpoirier: $(JPOIRIER_TESTS)
|
||||
@echo "JPoirier test passed"
|
||||
@echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||
@echo "%%%%%%%%%%%% JPoirier Tests Passed %%%%%%%%%%%%"
|
||||
@echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
|
||||
@echo
|
||||
|
||||
|
|
Loading…
Reference in a new issue