Initial commit for starting work on templates
This commit is contained in:
23
cpp/datastructs/templates/stacklist/Makefile
Normal file
23
cpp/datastructs/templates/stacklist/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
CXX=g++
|
||||
CXXFLAGS=-g -Wall
|
||||
|
||||
###############################################################################
|
||||
# Driver
|
||||
###############################################################################
|
||||
|
||||
driver: driver.cpp stacklist.o
|
||||
${CXX} ${CXXFLAGS} driver.cpp stacklist.o -o driver
|
||||
|
||||
###############################################################################
|
||||
# StackList
|
||||
###############################################################################
|
||||
|
||||
stacklist.o: stacklist.cpp stacklist.h
|
||||
${CXX} ${CXXFLAGS} -c stacklist.cpp -o stacklist.o
|
||||
|
||||
###############################################################################
|
||||
# Clean
|
||||
###############################################################################
|
||||
|
||||
clean:
|
||||
rm -f *.o driver
|
||||
Reference in New Issue
Block a user