Correct some CXXFLAGS stuff in the Makefile.
[movit] / Makefile
1 CC=gcc
2 CXX=g++
3 CXXFLAGS=-Wall
4 LDFLAGS=-lSDL -lSDL_image -lGL
5
6 test: test.o
7         $(CXX) -o test test.o $(LDFLAGS)
8
9 .o: .cpp
10         $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
11
12 clean:
13         $(RM) test test.o
14
15 .PHONY: clean