blob: c297af0717ed091fd3222f190c751e480e233b2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
BE = gcc
ortho_srcdir=..
BACK_END=$(ortho_srcdir)/$(BE)
ortho_exec=oread-$(BE)
all: $(ortho_exec)
test: test.s
$(CC) -o $@ $^
test.s: $(ortho_exec)
./$(ortho_exec) test
$(ortho_exec): force
$(MAKE) -f $(BACK_END)/Makefile ortho_exec=$(ortho_exec)
clean:
$(MAKE) -f $(BACK_END)/Makefile clean
$(RM) -f oread *.o *~
distclean: clean
$(MAKE) -f $(BACK_END)/Makefile distclean
force:
.PHONY: force
|