#---------------------------------------------------------------------------
-TARGET = libscenery.a
+TARGET = libScenery.a
-CFILES = scanner.c parser.c common.c mesh.c
+CFILES = common.c mesh.c
HFILES =
-LFILES = scanner.l
-YFILES = parser.y
OFILES = $(CFILES:.c=.o)
CC = gcc
CFLAGS = -g -Wall
# CFLAGS = -O2 -Wall
-FLEX = flex -f -L
-BISON = bison -v --no-lines
AR = ar
INCLUDES =
-LIBS = -lfl
-
#---------------------------------------------------------------------------
# Primary Targets
$(AR) rv $(TARGET) $(OFILES)
clean:
- rm -f *.o $(TARGET) parser.output *~ core
-
-realclean: clean
- rm -f scanner.c parser.c
+ rm -f *.o $(TARGET) lib*.a *~ core
#---------------------------------------------------------------------------
# Secondary Targets
#---------------------------------------------------------------------------
-scanner.c: scanner.l parser.h
- $(FLEX) -oscanner.c scanner.l
-
-scanner.o: scanner.c
- $(CC) $(CFLAGS) -c scanner.c
-
-parser.h: parser.y
- $(BISON) -o parser.c -d parser.y
-
-parser.c: parser.y common.h mesh.h scenery.h
- $(BISON) -o parser.c parser.y
-
-parser.o: parser.c
- $(CC) $(CFLAGS) -c parser.c
-
common.o: common.c common.h
$(CC) $(CFLAGS) -c common.c
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.9 1997/06/25 15:39:48 curt
+# Minor changes to compile with rsxnt/win32.
+#
+# Revision 1.8 1997/06/21 17:58:07 curt
+# directory shuffling ...
+#
+# Revision 1.1 1997/06/21 17:39:28 curt
+# Moved to the ParseScn subdirectory.
+#
+# Revision 1.6 1997/06/21 17:12:55 curt
+# Capitalized subdirectory names.
+#
# Revision 1.5 1997/05/31 19:16:29 curt
# Elevator trim added.
#