added makefile
This commit is contained in:
parent
74925aa1df
commit
98435c957a
|
|
@ -0,0 +1,12 @@
|
||||||
|
all: main arithmetic
|
||||||
|
g++ main.o arithmetic.o
|
||||||
|
|
||||||
|
main: main.cpp
|
||||||
|
g++ -c main.cpp
|
||||||
|
|
||||||
|
arithmetic: arithmetic.cpp arithmetic.h
|
||||||
|
g++ -c arithmetic.cpp
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm*.o
|
||||||
|
rm a.out
|
||||||
Loading…
Reference in New Issue