#
#  Makefile for program(s) testsort
#   generated automatically
#
#   (C) Joerg Schoen 1994-98
#

#  My preferred optimization flags for some systems:
# --- Silicon Graphics ---
#COPTIMIZE= -O2 -mips2
# --- AIX ---
#COPTIMIZE= -O3 -qstrict -qansialias
# --- AIX PWR2 ---
#COPTIMIZE= -O3 -qstrict -qansialias -qarch=pwrx -qtune=pwrx
# --- Linux ---
#COPTIMIZE= -pipe -O3 -fstrength-reduce -funroll-loops

# Default settings for configuration dependent options.
CFLAGS= -I. $(COPTIMIZE) $(CCOPTIONS)
LFLAGS= $(LDOPTIONS)
BINDIR=..


#  Definitions for program "testsort"
OBJ1=	testsort.o 
EXE1=	$(BINDIR)/testsort

#  General user targets
all: $(EXE1)

clean:
	-rm *.o *.a

realclean: clean
	-rm $(EXE1)

#  How to make the executable(s)
$(EXE1): $(OBJ1)
	$(CC) $(CFLAGS) $(OBJ1) $(LFLAGS) -o $@


# Some platforms need this rule. Remove comments if yacc
#  files get not compiled automatically.
#.y.a:
#	$(YACC) $(YFLAGS) $<
#	$(CC) -c $(CFLAGS) y.tab.c
#	rm y.tab.c
#	mv y.tab.o $*.o
#	$(AR) $(ARFLAGS) $@ $*.o
#	-rm -f $*.o
