]> git.sesse.net Git - movit/commitdiff
Correct some CXXFLAGS stuff in the Makefile.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 Oct 2012 13:04:44 +0000 (15:04 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 Oct 2012 13:04:44 +0000 (15:04 +0200)
Makefile

index 5695c2eeef0428cd76460a64ead5d6b9cb76e4df..af7ca8e8ee5f862f6e419edd0c9a61a7e4e96d5e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
 CC=gcc
 CXX=g++
-CFLAGS=-std=gnu99 -Wall
+CXXFLAGS=-Wall
 LDFLAGS=-lSDL -lSDL_image -lGL
 
 test: test.o
        $(CXX) -o test test.o $(LDFLAGS)
 
 .o: .cpp
-       $(CXX) $(CXXFLAGS) $(CCFLAGS) -o $@ $<
+       $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
 
 clean:
        $(RM) test test.o