#
# Makefile for Public Domain Diff
#
# the two 'include' directive are for these USG 5.3 machines (or 3B1) which
# have shared libraries.  Comment them out if you do not have shared 
# libraries on your system.

include $(MAKEINC)/Makepre.h

#
# You may want to use one or more of the following definitions when compiling,
# depending on what your target environment is, and whether you want debugging
# turned on or off.
#
#	TURBO   - compile for TURBO C target (See TC-READ.ME for details)
#	AMIGA   - compile for AMIGA target
#	OSK     - compile for OSK
#	DEBUG   - turn on debugging (implies TIMING) 
#	TIMING  - turn on timing code
#	MSC     - Microsoft C 4.0 (small model support)
#
# additional support for vax, or pdp11 are invoked by defining 'vax'
# or 'pdp11'.  These should be defined by your preprocessor if you are
# on one of these machines.
#
# CFLAGS = -O -DTURBOC
CFLAGS = -O
LDFLAGS = -s

# The first line ('cc ...') is for standard C compilers, the second line
# ('$(LD) ...') is for shared library machines.  Use whichever line is 
# appropriate for your system and comment the other one out.

diff: diff.o
#	cc $(LDFLAGS) diff.o -o diff
	$(LD) $(SHAREDLIB) $(LDFLAGS) diff.o -o diff

clean:
	rm -f *.o a.out core diff

include $(MAKEINC)/Makepost.h
