summaryrefslogtreecommitdiff
path: root/sim/ucsim/stm8.src/test/Makefile
blob: 1d0296b66dd888e629787b788dc155de0d3eb54b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PROJECTS	= s0 s1 s2 s3 t1 t2 t3 t4 xtest \
		  sl ss lled sled ltim stim sertest \
		  getbl \
		  monitor

.PHONY: projects $(PROJECTS)

projects: $(PROJECTS)

$(PROJECTS):
	$(MAKE) MAIN=$@ -f sdcc.mk

clean:
	for p in $(PROJECTS); do \
		$(MAKE) MAIN=$$p -f sdcc.mk clean ;\
		rm -rf $$p*.hex ;\
		rm -rf $$p*.cdb ;\
	done