]> git.mxchange.org Git - flightgear.git/blobdiff - Tri2obj/Makefile
A couple final pre-release tweaks.
[flightgear.git] / Tri2obj / Makefile
index 074139b2fa52891c25262763ad7da69460380bba..9cdbaaa61ccc9e795315ef40fe76f01fc848a183 100644 (file)
 
 TARGET = tri2obj
 
-CFILES = tri2obj.c
+CFILES = tri2obj.c ../../Src/Scenery/tileutils.c
 OFILES = $(CFILES:.c=.o)
 
 
 include ../make.inc
 
 
-CFLAGS = $(FG_CFLAGS) -g
+CFLAGS = $(FG_CFLAGS) -O3 -fomit-frame-pointer -funroll-all-loops -ffast-math
 
 
 #---------------------------------------------------------------------------
@@ -43,7 +43,7 @@ CFLAGS = $(FG_CFLAGS) -g
 all: $(TARGET)
 
 $(TARGET): $(OFILES)
-       $(CC) $(OFILES) -o $(TARGET)
+       $(CC) $(OFILES) -o $(TARGET) ../../Src/Math/libMath.a -lm
 
 clean:
        rm -f *.o $(TARGET) lib*.a *.os2 *~ core
@@ -66,6 +66,18 @@ tri2obj.o: tri2obj.c
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.4  1998/01/17 01:25:39  curt
+# Added support for shared normals.
+#
+# Revision 1.3  1997/12/02 13:13:32  curt
+# Fixed problem with averaged vertex normals.
+#
+# Revision 1.2  1997/11/14 00:29:13  curt
+# Transform scenery coordinates at this point in pipeline when scenery is
+# being translated to .obj format, not when it is being loaded into the end
+# renderer.  Precalculate normals for each node as average of the normals
+# of each containing polygon so Garoude shading is now supportable.
+#
 # Revision 1.1  1997/10/29 23:05:14  curt
 # Initial revision.
 #