Reorganize files
This commit is contained in:
23
cpp/datastructs/doublelist/Makefile
Normal file
23
cpp/datastructs/doublelist/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
CXX=g++
|
||||
CXXFLAGS=-g -Wall
|
||||
|
||||
###############################################################################
|
||||
# Driver
|
||||
###############################################################################
|
||||
|
||||
driver: driver.cpp doublelist.o
|
||||
${CXX} ${CXXFLAGS} driver.cpp doublelist.o -o driver
|
||||
|
||||
###############################################################################
|
||||
# DoubleList
|
||||
###############################################################################
|
||||
|
||||
doublelist.o: doublelist.cpp doublelist.h
|
||||
${CXX} ${CXXFLAGS} -c doublelist.cpp -o doublelist.o
|
||||
|
||||
###############################################################################
|
||||
# Clean
|
||||
###############################################################################
|
||||
|
||||
clean:
|
||||
rm -f *.o driver
|
||||
Reference in New Issue
Block a user