mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
19 lines
281 B
Makefile
19 lines
281 B
Makefile
|
EXEC = post-fx
|
||
|
OBJ = PostFX.o
|
||
|
|
||
|
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)
|