adding cs142 code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
CXX=g++
|
||||
CPPFLAGS=-Wall -g -std=c++0x
|
||||
|
||||
all: people
|
||||
|
||||
people: main.o person.o
|
||||
g++ $(CPPFLAGS) person.o main.o -o people
|
||||
|
||||
main.o: main.cpp person.o person.h
|
||||
person.o: person.cpp person.h
|
||||
test: people
|
||||
./people < test.txt
|
||||
|
||||
clean:
|
||||
rm -fv people *.o
|
||||
|
||||
debug: people
|
||||
gdb people
|
||||
Reference in New Issue
Block a user