source: sources/test_regression/07122006/Makefile @ 36

Last change on this file since 36 was 34, checked in by buchmann, 15 years ago

Remove an unused regression test.
Update some other tests.
Add a TODO section into README file.
Disable some debugging compiler options for common users.

File size: 914 bytes
Line 
1include ../env.mk
2
3EXE     = system.x system2.x
4OBJECTS = system.o system_gen_moore.o system_gen_mealy.o system_transition.o
5OBJECTS2= system2.o
6
7.SECONDARY:
8
9main : $(EXE) 
10
11test : system.x system2.x
12        system.x > /dev/null ; \
13  if [ $$? -ne 0 ] ; then eval ${failcom} ; fi
14        @echo Test OK.
15        system2.x > /dev/null
16# ; \
17        if [ $$? -ne 139 ] ; then eval ${failcom} ; fi
18
19system.x : ${OBJECTS} $(SYSTEMCASS_LIB)
20        $(CXX) -o $@ ${OBJECTS} $(LFLAGS_SYSTEMCASS)
21
22system2.x : ${OBJECTS2} $(SYSTEMCASS_LIB)
23        $(CXX) -o $@ ${OBJECTS2} $(LFLAGS_SYSTEMCASS)
24
25-include Makefile.deps
26
27%.o : %.cpp
28        $(CXX) $(CFLAGS_SYSTEMCASS) -MM $*.cpp >> Makefile.deps
29        $(CXX) $(CFLAGS_SYSTEMCASS) -c $*.cpp -o $*.o
30
31clean :
32        rm -f Makefile.deps
33        -rm -f *.o gmon.out
34        -rm -f *.txt
35        -rm -f $(EXE) $(OBJECTS) $(OBJECTS2)
36        -for i in $(LINKS) ; do unlink $$i ; done 2> /dev/null
37        -rm -f core*
38        -rm -f *~
39        -rm -rf generated_by_systemcass .libs/
40       
Note: See TracBrowser for help on using the repository browser.