SFML/samples/shader/Makefile
2009-11-11 09:55:11 +00:00

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)