Subversion Repositories shark

Rev

Rev 45 | Rev 65 | 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:
29
	$(CC) $(C_OPT) -M $(MYOBJS:.o=.c) > deps
30
 
31
deps:
32
	$(CC) $(C_OPT) -M $(MYOBJS:.o=.c) > deps
33
 
34
 
35
 
36
 
37