#
# 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 Macros -----

CXXFLAGS = -g -pedantic -Wall -W

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

all:	factorial

factorial:	bigint.o factorial.o
	g++ -o factorial factorial.o bigint.o

bigint.o:	bigint.cpp bigint.hpp
	g++ -c $(CXXFLAGS) bigint.cpp

factorial.o:	factorial.cpp bigint.hpp
	g++ -c $(CXXFLAGS) factorial.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.
