mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
2f524481c1
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
19 lines
271 B
Makefile
19 lines
271 B
Makefile
EXEC = X11
|
|
OBJ = X11.o
|
|
|
|
all: $(EXEC)
|
|
|
|
X11: $(OBJ)
|
|
$(CC) $(LDFLAGS) -o $(EXECPATH)/$@ $(OBJ) -lsfml-window -lsfml-system -lGLU -lGL -lX11
|
|
|
|
%.o: %.cpp
|
|
$(CC) -o $@ -c $< $(CFLAGS)
|
|
|
|
.PHONY: clean mrproper
|
|
|
|
clean:
|
|
@rm -rf *.o
|
|
|
|
mrproper: clean
|
|
@rm -rf $(EXECPATH)/$(EXEC)
|