Subversion Repositories tendra.SVN

Rev

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

Rev 59 Rev 92
Line 2... Line 2...
2
include ../../../defs.mk
2
include ../../../defs.mk
3
 
3
 
4
#.include "../Makefile.inc"
-
 
5
 
-
 
6
# Standard directories and files
-
 
7
 
4
 
8
DEST=${OBJ_DIR}/src/lib
5
DEST=${OBJ_DIR}/src/lib
9
#SRC=${BASE}/src/tools/tspec
-
 
10
API_DIR=${BASE_DIR}/src/lib/apis
-
 
11
 
-
 
12
# Standard variables
-
 
13
 
6
 
14
WARNS?=		2
-
 
15
 
7
 
16
TCCOPTS=	-Yposix1 -Xs
8
TCCOPTS=	-Yposix1 -Xs
17
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR}
-
 
18
LIBS=
-
 
19
 
9
 
20
# Dependencies and construction rules
10
# Dependencies and construction rules
21
 
11
 
22
PROG=		tspec
12
PROG=	tspec
23
WRAPPER=	tspec.sh
-
 
24
 
13
 
25
OBJS=		hash.o index.o lex.o main.o makefile.o name.o object.o print.o\
14
OBJS=	hash.o index.o lex.o main.o makefile.o name.o object.o print.o\
26
		syntax.o type.o utility.o variable.o
15
	syntax.o type.o utility.o variable.o
27
 
16
 
28
.c.o:
17
.c.o:
29
	$(CC) -c $(CFLAGS) -o $@ $<
18
	$(CC) -c $(TCFLAGS) $(CFLAGS) -o $@ $<
30
 
19
 
31
$(PROG): $(OBJS)
20
$(PROG): $(OBJS)
32
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
21
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
33
 
22
 
34
clean:
23
clean: