include ../env.mk EXE = system.x system2.x OBJECTS = system.o system_gen_moore.o system_gen_mealy.o system_transition.o OBJECTS2= system2.o .SECONDARY: main : $(EXE) test : system.x system2.x system.x > /dev/null ; \ if [ $$? -ne 0 ] ; then eval ${failcom} ; fi @echo Test OK. system2.x > /dev/null ; \ if [ $$? -ne 139 ] ; then eval ${failcom} ; fi system.x : ${OBJECTS} $(SYSTEMCASS_LIB) $(CXX) -o $@ ${OBJECTS} $(LFLAGS_SYSTEMCASS) system2.x : ${OBJECTS2} $(SYSTEMCASS_LIB) $(CXX) -o $@ ${OBJECTS2} $(LFLAGS_SYSTEMCASS) include Makefile.deps %.o : %.cpp $(CXX) $(CFLAGS_SYSTEMCASS) -MM $*.cpp >> Makefile.deps $(CXX) $(CFLAGS_SYSTEMCASS) -c $*.cpp -o $*.o clean : -echo > Makefile.deps -rm -f *.o gmon.out -rm -f *.txt -rm -f $(EXE) $(OBJECTS) $(OBJECTS2) -for i in $(LINKS) ; do unlink $$i ; done 2> /dev/null -rm -f core* -rm -f *~ -rm -rf generated_by_systemcass .libs/