diff --git a/makefile b/makefile new file mode 100644 index 0000000..052cd56 --- /dev/null +++ b/makefile @@ -0,0 +1,9 @@ +all: main arithmetic + g++ arithmetic.o main.o +main: main.cpp + g++ -c main.cpp +arithmetic: arithmetic.cpp arithmetic.h + g++ -c arithmetic.cpp +clean: + rm *.o + rm a.out