2009-11-03 17:04:40 +08:00
|
|
|
EXEC = shader
|
|
|
|
OBJ = Shader.o
|
2009-01-29 00:18:34 +08:00
|
|
|
|
|
|
|
all: $(EXEC)
|
|
|
|
|
|
|
|
post-fx: $(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)
|