]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/Makefile
Minor changes to compile with rsxnt/win32.
[flightgear.git] / Scenery / Makefile
index 34902fe83ed15d990e673a949a1c03dba2a2d3fe..b0e0e3a87516c92ac1213de0b416249de563f059 100644 (file)
 #---------------------------------------------------------------------------
 
 
-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
-BISON = bison -v
 AR = ar
 
 INCLUDES = 
 
-LIBS = -lfl
-
 
 #---------------------------------------------------------------------------
 # Primary Targets
@@ -55,28 +49,13 @@ $(TARGET): $(OFILES) $(HFILES)
        $(AR) rv $(TARGET) $(OFILES)
 
 clean:
-       rm -f *.o $(TARGET) parser.output *~ core
+       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
 
@@ -86,6 +65,24 @@ 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.
+#
+# Revision 1.5  1997/05/31 19:16:29  curt
+# Elevator trim added.
+#
+# Revision 1.4  1997/05/27 17:48:50  curt
+# Added -f flag to flex to generate a "fast" scanner.
+#
 # Revision 1.3  1997/05/23 15:40:40  curt
 # Added GNU copyright headers.
 #