Subversion Repositories tendra.SVN

Rev

Rev 38 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 38 Rev 89
Line 1... Line -...
1
 
-
 
2
# Standard directories and files
-
 
3
.include "../Makefile.inc"
1
include ../../../defs.mk
4
 
2
 
5
TEMPL=${.CURDIR}/templ
3
TEMPL=${.CURDIR}/templ
6
 
4
 
7
# Standard variables
5
# Standard variables
8
 
6
 
Line 12... Line 10...
12
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE}
10
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE}
13
LIBS=
11
LIBS=
14
 
12
 
15
# Dependencies and construction rules
13
# Dependencies and construction rules
16
 
14
 
17
PROG=		${.CURDIR:T}
15
PROG=		tpl
18
 
16
 
19
OBJS=		analyse_sort.o consfile.o decodings.o errors.o find_id.o\
17
OBJS=		analyse_sort.o consfile.o decodings.o errors.o find_id.o\
20
		fnsfile.o includes.o lex.o main.o readstreams.o standardsh.o\
18
		fnsfile.o includes.o lex.o main.o readstreams.o standardsh.o\
21
		streams.o syntax.o units.o util.o
19
		streams.o syntax.o units.o util.o
22
 
20
 
Line 26... Line 24...
26
$(PROG): $(OBJS)
24
$(PROG): $(OBJS)
27
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
25
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
28
 
26
 
29
 
27
 
30
install: $(PROG)
28
install: $(PROG)
31
	install -d $(INSTALL_BINDIR)
29
	mkdir -p $(INSTALL_BINDIR)
32
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
30
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
33
 
31
 
34
clean:
32
clean:
35
	rm -f $(OBJS)
33
	rm -f $(OBJS)
36
	rm -f $(PROG)
34
	rm -f $(PROG)