ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/BASS_parse/Makefile
Revision: 178
Committed: Mon Nov 18 21:24:02 2002 UTC (21 years, 7 months ago) by mmeineke
File size: 882 byte(s)
Log Message:
*** empty log message ***

File Contents

# Content
1 include ../Makefile.inc
2
3 OBJECTS = BASS.lex.o BASS_parse.o make_nodes.o interface.o parse_tree.o \
4 BASS.tab.o
5
6 all: $(LIBDIR)/$(LIBNAME)
7
8 $(LIBDIR)/$(LIBNAME): $(OBJECTS)
9 ar -crsv $@ $?
10
11 parse_tree.o: interface.h node_list.h parse_tree.h parse_tree.c
12 $(CC) $(CFLAGS) -c parse_tree.c
13
14 interface.o: node_list.h interface.h interface.c
15 $(CC) $(CFLAGS) -c interface.c
16
17 make_nodes.o: node_list.h make_nodes.h make_nodes.c
18 $(CC) $(CFLAGS) -c make_nodes.c
19
20 BASS_parse.o: BASS_parse.h BASS.tab.h BASS_parse.c
21 $(CC) $(CFLAGS) -c BASS_parse.c
22
23 BASS.lex.o: BASS.tab.h BASS_parse.h BASS.lex.c
24 $(CC) $(CFLAGS) -c BASS.lex.c
25
26 BASS.tab.o: BASS.tab.c BASS.tab.h node_list.h make_nodes.h
27 $(CC) $(CFLAGS) -c BASS.tab.c
28
29 BASS.lex.c: BASS.l
30 $(LC) -oBASS.lex.c BASS.l
31
32 BASS.tab.h: BASS.y
33 $(YC) -d BASS.y
34
35 BASS.tab.c: BASS.y
36 $(YC) -d BASS.y
37
38 clean:
39 rm *.o *~ BASS.lex.c BASS.tab.h BASS.tab.c