2f524481c1
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
19 lines
289 B
Makefile
19 lines
289 B
Makefile
EXEC = voip
|
|
OBJ = VoIP.o Client.o Server.o
|
|
|
|
all: $(EXEC)
|
|
|
|
voip: $(OBJ)
|
|
$(CC) $(LDFLAGS) -o $(EXECPATH)/$@ $(OBJ) -lsfml-audio -lsfml-network -lsfml-system
|
|
|
|
%.o: %.cpp
|
|
$(CC) -o $@ -c $< $(CFLAGS)
|
|
|
|
.PHONY: clean mrproper
|
|
|
|
clean:
|
|
@rm -rf *.o
|
|
|
|
mrproper: clean
|
|
@rm -rf $(EXECPATH)/$(EXEC)
|