From: Steinar H. Gunderson Date: Mon, 1 Oct 2012 13:04:44 +0000 (+0200) Subject: Correct some CXXFLAGS stuff in the Makefile. X-Git-Tag: 1.0~485 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=8df9b9f19175effb728f3b587a65dd753457670e Correct some CXXFLAGS stuff in the Makefile. --- diff --git a/Makefile b/Makefile index 5695c2e..af7ca8e 100644 --- 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