Skip to content

Commit

Permalink
Correct some CXXFLAGS stuff in the Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
sesse committed Oct 1, 2012
1 parent 388960b commit 8df9b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Down

0 comments on commit 8df9b9f

Please sign in to comment.