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
|
Rev | Line | |
---|
[1] | 1 | include ../env.mk |
---|
| 2 | |
---|
| 3 | EXE = system.x system2.x |
---|
| 4 | OBJECTS = system.o system_gen_moore.o system_gen_mealy.o system_transition.o |
---|
| 5 | OBJECTS2= system2.o |
---|
| 6 | |
---|
| 7 | .SECONDARY: |
---|
| 8 | |
---|
| 9 | main : $(EXE) |
---|
| 10 | |
---|
| 11 | test : system.x system2.x |
---|
| 12 | system.x > /dev/null ; \ |
---|
| 13 | if [ $$? -ne 0 ] ; then eval ${failcom} ; fi |
---|
| 14 | @echo Test OK. |
---|
[34] | 15 | system2.x > /dev/null |
---|
| 16 | # ; \ |
---|
[1] | 17 | if [ $$? -ne 139 ] ; then eval ${failcom} ; fi |
---|
| 18 | |
---|
| 19 | system.x : ${OBJECTS} $(SYSTEMCASS_LIB) |
---|
| 20 | $(CXX) -o $@ ${OBJECTS} $(LFLAGS_SYSTEMCASS) |
---|
| 21 | |
---|
| 22 | system2.x : ${OBJECTS2} $(SYSTEMCASS_LIB) |
---|
| 23 | $(CXX) -o $@ ${OBJECTS2} $(LFLAGS_SYSTEMCASS) |
---|
| 24 | |
---|
[13] | 25 | -include Makefile.deps |
---|
[1] | 26 | |
---|
| 27 | %.o : %.cpp |
---|
| 28 | $(CXX) $(CFLAGS_SYSTEMCASS) -MM $*.cpp >> Makefile.deps |
---|
| 29 | $(CXX) $(CFLAGS_SYSTEMCASS) -c $*.cpp -o $*.o |
---|
| 30 | |
---|
| 31 | clean : |
---|
[15] | 32 | rm -f Makefile.deps |
---|
[1] | 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.