Makefile - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
Makefile (345B)
---
1 .POSIX:
2
3 PROJECTDIR = ../..
4 DIRS =\
5 assert\
6 ctype\
7 inttypes\
8 locale\
9 stdio\
10 stdlib\
11 string\
12 time\
13 wchar\
14 arch\
15
16 include $(PROJECTDIR)/scripts/rules.mk
17 include rules.mk
18 include objs/$(ARCH)-$(SYS).mk
19
20 NODEP = 1
21 TARGET = $(LIBC)
22
23 all: $(DIRS)
24 +@$(MAKE) $(TARGET)
25
26 $(LIBC): $(OBJS)
27 $(AR) $(ARFLAGS) $(LIBC) $?
28 $(RL) $(RLFLAGS) $(LIBC)