Assignment-1/makefile

12 lines
316 B
Makefile
Raw Permalink Normal View History

2019-09-30 10:58:41 +02:00
ABC: driver.o abc.o general_functions.o
CC -std=c++11 -o ABC driver.o abc.o general_functions.o && rm *.o
driver.o: driver.cpp abc.h
CC -std=c++11 -c driver.cpp
abc.o: abc.cpp general_functions.h
CC -std=c++11 -c abc.cpp
general_functions.o: general_functions.cpp
CC -std=c++11 -c general_functions.cpp