17 lines
192 B
Makefile
17 lines
192 B
Makefile
|
CXX=c++
|
||
|
CXXFLAGS= -g -Wall
|
||
|
LDLIBS=
|
||
|
|
||
|
SOURCES=$(wildcard *.cpp)
|
||
|
|
||
|
all: mcping
|
||
|
|
||
|
mcping: $(SOURCES)
|
||
|
$(CXX) $(CXXFLAGS) -o $< $(SOURCES) $(LDLIBS)
|
||
|
|
||
|
run: mcping
|
||
|
./mcping
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o mcping
|