# To test the system do "make" # This will compile, link and run the programs # # To clean up do "make clean" SHELL = /sbin/sh # SC = ../sc -cim SC = sc PROGS = hello hello-w test as-text stopwatch today fontwindow ALLPROGS = $(PROGS) run: $(ALLPROGS) for P in $(ALLPROGS) ; do ./$$P p1 p2 ; done runsome: $(PROGS) for P in $(PROGS) ; do ./$$P p1 p2 ; done as-text: as-text.sim $(SC) -simutil as-text hello: hello.sim $(SC) hello hello-w: hello-w.sim $(SC) -simwin hello-w test: test.sim $(SC) test hello-error: hello-error.sim $(SC) hello-error stopwatch: stopwatch.sim $(SC) -simwin stopwatch scrollwin: scrollwin.sim $(SC) -simwin scrollwin today: today.sim dates.o $(SC) -C today dates fontwindow: fontwindow.sim $(SC) -simwin fontwindow dates.o: dates.sim $(SC) -c dates clean: touch xxx.log xxx.o xxx.atr xxx.s xxx~ rm -f *.log *.o *.atr *.s *~ $(PROGS)