Subversion Repositories shark

Rev

Rev 3 | 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
 
45 pj 8
#ifndef OSLIB
9
OSLIB=
10
#endif
2 pj 11
SUBMAKE:=$(BASE)/config/example2.mk
12
 
13
test: $(PROGS)
14
 
15
all install:
16
 
17
clean::
18
	$(RM) *.o
19
	$(RM) *.err
20
	-rm -f $(PROGS)
21
 
22
cleanall:: clean
23
	$(RM) deps
24
	$(RM) *.bak
25
	$(RM) *.~
26
	$(RM) *.?~
27
	$(RM) *.??~
28
 
29
MYOBJS= $(addsuffix .c,$(PROGS)) $(OBJS)
30
 
31
depend:
32
	$(CC) $(C_OPT) -M $(MYOBJS:.o=.c) > deps
33
 
34
deps:
35
	$(CC) $(C_OPT) -M $(MYOBJS:.o=.c) > deps
36
 
37
 
38
 
39
 
40