15 lines
163 B
Makefile
15 lines
163 B
Makefile
|
|
CXXFLAGS=-O2 -Wall -g
|
|
|
|
all: main
|
|
|
|
mine.o:: mine.h
|
|
io.o:: io.h
|
|
main.o:: io.h mine.h
|
|
|
|
main: main.o io.o mine.o
|
|
g++ -o $@ $^
|
|
|
|
clean:
|
|
rm -f main main.o io.o mine.o
|