Subversion Repositories tendra.SVN

Rev

Rev 7 | Rev 89 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 38
Line 15... Line 15...
15
 
15
 
16
# Dependencies and construction rules
16
# Dependencies and construction rules
17
 
17
 
18
PROG=		${.CURDIR:T}
18
PROG=		${.CURDIR:T}
19
 
19
 
20
SRCS=		alignment.c analyser.c bitstream.c check.c de_capsule.c\
20
OBJS=		alignment.o analyser.o bitstream.o check.o de_capsule.o\
21
		de_unit.c decode.c enc_cap.c encode.c eval.c fetch.c file.c\
21
		de_unit.o decode.o enc_cap.o encode.o eval.o fetch.o file.o\
22
		help.c high.c main.c node.c read.c read_cap.c shape.c table.c\
22
		help.o high.o main.o node.o read.o read_cap.o shape.o table.o\
23
		tdf.c utility.c write.c
23
		tdf.o utility.o write.o
-
 
24
 
-
 
25
.c.o:
-
 
26
	$(CC) -c $(CFLAGS) -o $@ $<
-
 
27
 
-
 
28
$(PROG): $(OBJS)
-
 
29
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
-
 
30
 
-
 
31
clean:
-
 
32
	rm -f $(OBJS)
-
 
33
	rm -f $(PROG)
-
 
34
 
-
 
35
 
-
 
36
install: $(PROG)
-
 
37
	install -d $(INSTALL_BINDIR)
-
 
38
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
-
 
39
 
-
 
40
depend:
-
 
41
	mkdep $(CFLAGS) *.c
-
 
42
 
-
 
43
 
-
 
44
 
-
 
45
 
24
 
46
 
25
#MAKE_TDF=make_tdf
47
#MAKE_TDF=make_tdf
26
#
48
#
27
#auto : ${SRC}/tdf.c ${SRC}/tdf.h ${SRC}/check_exp.h
49
#auto : ${SRC}/tdf.o ${SRC}/tdf.h ${SRC}/check_exp.h
28
#
50
#
29
#${SRC}/tdf.c : ${SPEC} ${SRC1}/tdf.c
51
#${SRC}/tdf.o : ${SPEC} ${SRC1}/tdf.o
30
#	@${REMOVE} ${SRC}/tdf.c
52
#	@${REMOVE} ${SRC}/tdf.o
31
#	${MAKE_TDF} ${SPEC} ${SRC1}/tdf.c ${SRC}/tdf.c
53
#	${MAKE_TDF} ${SPEC} ${SRC1}/tdf.o ${SRC}/tdf.o
32
#
54
#
33
#${SRC}/tdf.h : ${SPEC} ${SRC1}/tdf.h
55
#${SRC}/tdf.h : ${SPEC} ${SRC1}/tdf.h
34
#	@${REMOVE} ${SRC}/tdf.h
56
#	@${REMOVE} ${SRC}/tdf.h
35
#	${MAKE_TDF} ${SPEC} ${SRC1}/tdf.h ${SRC}/tdf.h
57
#	${MAKE_TDF} ${SPEC} ${SRC1}/tdf.h ${SRC}/tdf.h
36
#
58
#