
#
# Put this file in a directory with source files:
# bubble.cpp
# sem.h
# sem.cpp
#
# Be sure that the lines containing the g++
# commands start with the tab character
# (not any blanks)
#
# To compile, just enter the single command:  
#  make
#
# This is supposed to work on the CS Lab Machines
# but may not work on other machines.
#
# To run the program, type a command like this:
#   bubble < data.txt
# 
# Instead of data.txt, you can use the name of any file
# containing a series of 32 integers.
#

bubble: bubble.o sem.o
	g++ -o bubble bubble.o sem.o
bubble.o: bubble.cpp sem.h
	g++ -c bubble.cpp
sem.o: sem.cpp sem.h
	g++ -c sem.cpp
