]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/Makefile
First stab at a system to generate os2 makefiles automatically.
[flightgear.git] / Scenery / Makefile
index 9dd272d5880d25f38459c40422966315453deee3..491a592125a966742c77b141f6e4707bfa061fb5 100644 (file)
@@ -48,7 +48,7 @@ $(TARGET): $(OFILES) $(HFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 realclean: clean
        rm -f scanner.c parser.c parser.h parser.output
@@ -70,25 +70,28 @@ parser.c: parser.y
        $(BISON) -o parser.c parser.y
 
 scanner.o: scanner.c
-       $(CC) $(CFLAGS) -c scanner.c
+       $(CC) $(CFLAGS) -c scanner.c -o $@
 
 parser.o: parser.c
-       $(CC) $(CFLAGS) -c parser.c
+       $(CC) $(CFLAGS) -c parser.c -o $@
 
 common.o:
-       $(CC) $(CFLAGS) -c common.c
+       $(CC) $(CFLAGS) -c common.c -o $@
 
 mesh.o:
-       $(CC) $(CFLAGS) -c mesh.c
+       $(CC) $(CFLAGS) -c mesh.c -o $@
 
 scenery.o:
-       $(CC) $(CFLAGS) -c scenery.c
+       $(CC) $(CFLAGS) -c scenery.c -o $@
 
 geometry.o:
-       $(CC) $(CFLAGS) -c geometry.c
+       $(CC) $(CFLAGS) -c geometry.c -o $@
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.16  1997/07/20 02:19:11  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.15  1997/07/12 02:24:47  curt
 # Added ranlib.
 #