SFML/examples/build/make/Makefile.X11
LaurentGom 8525a7cb92 Changed the output names of SFML libraries in projects/makefiles (sfml-xxx -> sfml2-xxx)
Fixed OpenAL include path in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1555 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-27 21:37:50 +00:00

21 lines
374 B
Makefile

EXE = X11
SRC = $(wildcard $(SRCROOT)/$(EXE)/*.cpp)
OBJ = $(SRC:.cpp=.o)
LDFLAGS = -lsfml2-window -lsfml2-system -lGLU -lGL -lX11
all: $(EXE)
$(EXE): $(OBJ)
$(CPP) -o $(SRCROOT)/$(EXE)/$(EXE) $(OBJ) $(LDFLAGS)
$(OBJ): %.o: %.cpp
$(CPP) -o $@ -c $< $(CFLAGS)
.PHONY: clean mrproper
clean:
@rm -rf $(OBJ)
mrproper: clean
@rm -rf $(SRCROOT)/$(EXE)/$(EXE)