generated from karl/cpp-template
12 lines
164 B
Makefile
12 lines
164 B
Makefile
![]() |
CXX = g++
|
||
|
CXXFLAGS = -Wall -O3
|
||
|
|
||
|
program: main.o
|
||
|
$(CXX) $(CXXFLAGS) -o program.out main.o
|
||
|
|
||
|
main.o: main.cpp
|
||
|
$(CXX) $(CXXFLAGS) -c main.cpp
|
||
|
|
||
|
clean :
|
||
|
-rm *.o *.out
|