--- a/ccdemos/Makefile Mon Dec 17 22:03:50 2007 +0100
+++ b/ccdemos/Makefile Tue Dec 18 12:36:01 2007 +0100
@@ -4,13 +4,18 @@
include $(ROOT)/config.mk
+### single precision
+#RTLIBS=libs-float
+#CCFLAGS+=-fsingle-precision-constant
+
+### double precision
RTLIBS=libs-double
-DEFS+=-DPYRIT_DOUBLE
+CCFLAGS+=-DPYRIT_DOUBLE
### Rules ###
%.o: %.cc
- $(CXX) -c -o $@ $(CCFLAGS) $(SDL_CCFLAGS) $< $(DEFS)
+ $(CXX) -c -o $@ $(CCFLAGS) $(SDL_CCFLAGS) $<
%: %.o
$(CXX) -o $@ $(ROOT)/bin/$(RTLIBS)/*.o $< image.o $(LDFLAGS) $(SDL_LDFLAGS) -lpng