12 lines
140 B
Makefile
12 lines
140 B
Makefile
|
CXX = g++
|
||
|
CXXFLAGS = -Wall
|
||
|
|
||
|
q: main.o
|
||
|
$(CXX) $(CXXFLAGS) -o q main.o
|
||
|
|
||
|
main.o: main.cpp
|
||
|
$(CXX) $(CXXFLAGS) -c main.cpp
|
||
|
|
||
|
clean :
|
||
|
-rm *.o q
|