mirror of
https://github.com/SFML/SFML.git
synced 2024-11-26 05:11:04 +08:00
19 lines
273 B
Makefile
19 lines
273 B
Makefile
|
EXEC = ftp
|
||
|
OBJ = Ftp.o
|
||
|
|
||
|
all: $(EXEC)
|
||
|
|
||
|
ftp: $(OBJ)
|
||
|
$(CC) $(LDFLAGS) -o $(EXECPATH)/$@ $(OBJ) -lsfml-network -lsfml-system
|
||
|
|
||
|
%.o: %.cpp
|
||
|
$(CC) -o $@ -c $< $(CFLAGS)
|
||
|
|
||
|
.PHONY: clean mrproper
|
||
|
|
||
|
clean:
|
||
|
@rm -rf *.o
|
||
|
|
||
|
mrproper: clean
|
||
|
@rm -rf $(EXECPATH)/$(EXEC)
|