fizzbuzz/sort-c++/Makefile

25 lines
425 B
Makefile
Raw Permalink Normal View History

2010-09-13 05:41:52 +00:00
# /users/ta/cs240ta/bin/sort240test
default: main.o line.o
g++ -o sort240 main.o line.o -g
main.o: main.cpp line.o
g++ -c main.cpp -g
line.o: line.cpp line.h
g++ -c line.cpp -g
clean:
rm -f sort240 *.o *.*~
testmain: main.o
g++ -o sort240 main.o -g
testline: line.cpp line.h main.cpp
g++ -c line.cpp main.cpp -g
g++ -o sort240 line.o main.o -g
testsort: main.cpp
g++ -c main.cpp -g
g++ -o sort240 main.o -g