#
# Makefile for Homework 10
#
# MAT 4970
# Bill Slough
# 
# Define the file suffixes for C++ source files
.SUFFIXES:
.SUFFIXES: .c $(SUFFIXES)

# Define the command to be used for compilation
CC = gcc

# Define compiler options
OPTS = -ansi -Wall

# Define the object files to be used
OBJS = diskio.o

# Describe how to build the executable file
sdump: sdump.o $(OBJS)
	$(CC) -o sdump sdump.o $(OBJS) 

# Describe how to create the object file
.c.o:
	$(CC) $(OPTS) -c $<

# Describe actions necessary to clean the current directory
clean:
	rm -f *.o sdump
