Lugovtsov/project/Makefile

14 lines
139 B
Makefile

all: main
main: main.o
g++ main.o -o main
main.o: main.cpp
g++ -c main.cpp -o main.o
clean:
rm -f main
rm -f *.o
.PNONY: all clean