school/cs142/test02/Makefile

17 lines
238 B
Makefile
Raw Permalink Normal View History

2016-04-06 20:45:34 -07:00
CXX=g++
CPPFLAGS=-Wall -g -std=c++0x
all: Circle
Circle: main.o Circle.o
g++ $(CPPFLAGS) Circle.o main.o -o Circle
main.o: main.cpp Circle.o Circle.h
Circle.o: Circle.cpp Circle.h
clean:
rm -fv Circle *.o
debug: Circle
gdb Circle