#
# Makefile for CS 70 Assignment 1, Spring 2002
# 
# You do not need to understand this file to use it.  To build your software
# just type:
#
#     make
#

# ----- Make rules -----

all:	LineShuffler.class shuffle

LineShuffler.class: LineShuffler.java
	javac LineShuffler.java

shuffle:	shuffle.o random.o lineshuffler.o
	g++ -o shuffle shuffle.o random.o lineshuffler.o

random.o:	random.cpp random.hpp
	g++ -c -g -pedantic -Wall -W random.cpp

shuffle.o:	shuffle.cpp lineshuffler.hpp random.hpp
	g++ -c -g -pedantic -Wall -W shuffle.cpp

lineshuffler.o:	lineshuffler.cpp lineshuffler.hpp random.hpp
	g++ -c -g -pedantic -Wall -W lineshuffler.cpp


# N.B.  In the rules above, lines that are indented are indented using a
# single a tab char (ASCII character 8), and not using spaces.  Do not use
# spaces to indent rule actions.
