aoc/18/2/Makefile

16 lines
178 B
Makefile
Raw Normal View History

2023-04-17 18:18:20 +00:00
CXX = g++-7
CC = g++-7
CXXFLAGS = -Wall -Wextra
all: main
main.o: main.cpp
$(CXX) $(CXXFLAGS) -c main.cpp
main: main.o
clean:
rm -f *.o *.h.gch *.exe main
run: all
./main