#	date:			Thu Sep  5 22:28:52 MET DST 1996
#	description:	Makefile for part
#	author:			Jens Nie
#					Universitaet Osnabrueck
#

# Make your own modifications here if necessary
CC = gcc
CFLAGS = -g -O2 -m486
INSTALLDIR = /usr/local/bin

################################################################################
# don't modify below here
PROGRAM = part
OBJECTS = part.o

# "all" compiles the program copies it to the desired directory and cleans up 
# the Sourcedirectory except deleting the program itself

part:	$(OBJECTS)
		$(CC) $(CFLAGS) -o $@ $(OBJECTS)
		strip $@

all:	part install clean

install:	
		cp $(PROGRAM) $(INSTALLDIR)/$(PROGRAM)

# "clean" deletes all core and Object-Files 

clean:	
		rm -f $(OBJECTS) core 

# "realclean" even deletes the program

realclean:	
			rm -f $(PROGRAM)
			make clean
# "deinstall" deletes the program from the INSTALLDIR-Directory

deinstall:
			rm -f $(INSTALLDIR)/$(PROGRAM)

# Makefile ends
#
