# set compiler used for builing program # must "add gcc295" for g++ and "add goodies" for a2ps CC = g++ # gnu options GCCOPTS = -Wall -ansi -g # sun options CCOPTS = # options for c compiler COPTS = $(GCCOPTS) indir_sort: indir_sort.cpp $(CC) $(COPTS) -o indir_sort indir_sort.cpp indir_sort.ps: indir_sort.cpp a2ps -v --columns=1 -f 16 --no-header --borders no \ --landscape --output=indir_sort.ps indir_sort.cpp exception: exception.cpp $(CC) $(COPTS) -o exception exception.cpp exception.ps: exception.cpp a2ps -v --columns=1 -f 16 --no-header --borders no \ --landscape --output=exception.ps exception.cpp account: account.cpp $(CC) $(COPTS) -o account account.cpp index: index.cpp $(CC) $(COPTS) -o index index.cpp index.ps: index.cpp a2ps -v --columns=1 -f 16 --no-header --borders no \ --landscape --output=index.ps index.cpp inherit: inherit.cpp $(CC) $(COPTS) -o inherit inherit.cpp map: map.cpp $(CC) $(COPTS) -o map map.cpp map.ps: map.cpp a2ps -v --columns=1 -f 16 --no-header --borders no \ --landscape --output=map.ps map.cpp # "add goodies" to get: /ncsu/goodies/bin/a2ps inherit.ps: inherit.cpp a2ps -v --columns=1 -f 16 --no-header --borders no \ --landscape --output=inherit.ps inherit.cpp clean: /bin/rm -f *.o a.out indir_sort indir_sort.ps account \ index *.index index.ps inherit inherit.ps \ map map.ps cpp.tar exception exception.ps *.cpp.html cpp.tar: tar -cvf cpp.tar . all: indir_sort account index inherit echo "Done!" make_hl_html: highlight.cpp g++ -Wall -o make_hl_html highlight.cpp html: ./make_hl_html account.cpp cpp;\ ./make_hl_html advanced.cpp cpp;\ ./make_hl_html blackbox.cpp cpp;\ ./make_hl_html coroute.cpp cpp;\ ./make_hl_html exception.cpp cpp;\ ./make_hl_html highlight.cpp cpp;\ ./make_hl_html index.cpp cpp;\ ./make_hl_html indir_sort.cpp cpp;\ ./make_hl_html inherit.cpp cpp;\ ./make_hl_html makefilelist.cpp cpp;\ ./make_hl_html map.cpp cpp;\ ./make_hl_html multi_index.cpp cpp;\ ./make_hl_html overload_typecast.cpp cpp;\ ./make_hl_html protected.cpp cpp;\ ./make_hl_html swap.cpp cpp;\ ./make_hl_html templates.cpp cpp;