Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

CSC112 Spring 2016 Examples

2370 views
head	1.2;
access;
symbols;
locks
	3066ab4dbfbb4db89cf9d66ff38c3e1a:1.2; strict;
comment	@# @;


1.2
date	2016.03.17.16.06.44;	author pngwen;	state Exp;
branches;
next	1.1;

1.1
date	2016.03.17.15.50.57;	author pngwen;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Summary: Added target list, put it in the clean section, and made the all target.
@
text
@# Revision: $Revision: 1.1 $
# Change Log
#   $Log: Makefile,v $
#   Revision 1.1  2016/03/17 15:50:57  pngwen
#   Initial revision
#

CPPFLAGS=--std=gnu++11 -g
LD=g++
CC=g++
targets=puzzle pegtest

all:$(targets)

puzzle: puzzle.o widget.o peg.o keystream.o tty_functions.o trianglePuzzle.o
pegtest: pegtest.o widget.o peg.o keystream.o tty_functions.o
widget.o: widget.cpp widget.h
peg.o: peg.cpp peg.h
keystream.o: keystream.cpp keystream.h
tty_functions.o: tty_functions.cpp tty_functions.h


clean:
	rm -f *.o $(targets)

@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# Revision: $Revision$
d3 4
a6 1
#   $Log$
d11 3
d24 1
a24 1
	rm -f *.o
@