7aabc3c3c1
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1272 4e206d99-4929-0410-ac5d-dfc041789085
19 lines
279 B
Makefile
19 lines
279 B
Makefile
EXEC = shader
|
|
OBJ = Shader.o
|
|
|
|
all: $(EXEC)
|
|
|
|
shader: $(OBJ)
|
|
$(CC) $(LDFLAGS) -o $(EXECPATH)/$@ $(OBJ) -lsfml-graphics -lsfml-window -lsfml-system
|
|
|
|
%.o: %.cpp
|
|
$(CC) -o $@ -c $< $(CFLAGS)
|
|
|
|
.PHONY: clean mrproper
|
|
|
|
clean:
|
|
@rm -rf *.o
|
|
|
|
mrproper: clean
|
|
@rm -rf $(EXECPATH)/$(EXEC)
|