add graphics demo

This commit is contained in:
josh committed 2012-03-07 13:25:06 -05:00
1 parent aee1265ebd
commit ce7a57be64
2 files changed
+70 -2

No files matched your search

+2 -2
View File
@@ -7,9 +7,9 @@ CXX := $(PREFIX)-g++
LD := $(PREFIX)-ld
CPPFLAGS := -I$(SFML_DIR)/include
CXXFLAGS := -mwindows
LDFLAGS := -L$(SFML_DIR)/lib -lsfml-system -lsfml-window -lopengl32 -lglu32 -static-libstdc++ -static-libgcc -mwindows
LDFLAGS := -L$(SFML_DIR)/lib -lsfml-system -lsfml-window -lsfml-graphics -lopengl32 -lglu32 -static-libstdc++ -static-libgcc -mwindows
all: clock window events opengl dlls
all: clock window events opengl graphics dlls
%: %.cpp
$(CXX) -o $@ $(CPPFLAGS) $(CXXFLAGS) $^ $(LDFLAGS)