mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
8525a7cb92
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
21 lines
377 B
GLSL
21 lines
377 B
GLSL
EXE = shader
|
|
SRC = $(wildcard $(SRCROOT)/$(EXE)/*.cpp)
|
|
OBJ = $(SRC:.cpp=.o)
|
|
LDFLAGS = -lsfml2-graphics -lsfml2-window -lsfml2-system
|
|
|
|
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)
|