]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/Makefile
Minor changes to compile with rsxnt/win32.
[flightgear.git] / Scenery / Makefile
index 5ec7f8996cc1879efe4517a5c0e2af6b16204d25..b0e0e3a87516c92ac1213de0b416249de563f059 100644 (file)
 
 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
@@ -55,31 +49,13 @@ $(TARGET): $(OFILES) $(HFILES)
        $(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
 
@@ -89,6 +65,15 @@ mesh.o: mesh.c mesh.h common.h
 
 #---------------------------------------------------------------------------
 # $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.
 #