Rev 64 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | # |
2 | # |
||
3 | # |
||
4 | |||
5 | .PHONY: test all install depend clean cleanall |
||
6 | .PHONY: $(PROGS) |
||
7 | |||
8 | SUBMAKE:=$(BASE)/config/example2.mk |
||
9 | |||
10 | test: $(PROGS) |
||
11 | |||
12 | all install: |
||
13 | |||
14 | clean:: |
||
15 | $(RM) *.o |
||
16 | $(RM) *.err |
||
17 | -rm -f $(PROGS) |
||
18 | |||
19 | cleanall:: clean |
||
20 | $(RM) deps |
||
21 | $(RM) *.bak |
||
22 | $(RM) *.~ |
||
23 | $(RM) *.?~ |
||
24 | $(RM) *.??~ |
||
25 | |||
26 | MYOBJS= $(addsuffix .c,$(PROGS)) $(OBJS) |
||
27 | |||
28 | depend: |
||
65 | pj | 29 | $(CC) $(C_OPT) -M $(wildcard $(MYOBJS:.o=.c) $(MYOBJS:.o=.s)) > deps |
2 | pj | 30 | |
31 | deps: |
||
65 | pj | 32 | $(CC) $(C_OPT) -M $(wildcard $(MYOBJS:.o=.c) $(MYOBJS:.o=.s)) > deps |
2 | pj | 33 | |
34 | |||
35 | |||
36 | |||
37 |