CSC112 Spring 2016 Examples
# Revision: $Revision: 1.2 $ # Change Log # $Log: Makefile,v $ # Revision 1.2 2016/03/17 16:06:44 pngwen # Summary: Added target list, put it in the clean section, and made the all target. # # Revision 1.1 2016/03/17 15:50:57 pngwen # Initial revision # CPPFLAGS=--std=gnu++11 -g LD=g++ CC=g++ targets=puzzle all:$(targets) puzzle: puzzle.o widget.o peg.o keystream.o tty_functions.o crossFour.o backtrack.o widget.o: widget.cpp widget.h peg.o: peg.cpp peg.h crossFour.o: crossFour.cpp crossFour.h keystream.o: keystream.cpp keystream.h tty_functions.o: tty_functions.cpp tty_functions.h backtrack.o: backtrack.h backtrack.cpp clean: rm -f *.o $(targets)