## Copyright (c) 1997  Todd Anthony Nathan  All Rights Reserved.
##
## Created: Sun Mar  9 02:16:13 GMT-0600 1997
## By:      Todd Anthony Nathan
##
## You are free to do as you see fit with this software.  The author
## doesn't make any implied or non-implied guarentees to the fitness
## of the software.  Use it at your own risk.
###


CC=/bin/cc
CC_FLAGS=-g -Wall -ObjC
LD_FLAGS=-O
LIBS=MiscGIS
LIB_DIRS=/LocalDeveloper/Libraries
OBJS=main.o MiscCoordAdditions.o
TARGET_FILE=cool

${TARGET_FILE}: ${OBJS}
	${CC} ${CC_FLAGS} -L${LIB_DIRS} -l${LIBS} ${OBJS} -o ${TARGET_FILE}

final: ${OBJS}
	${CC} ${CC_FLAGS} -L${LIB_DIRS} -l${LIBS} ${OBJS} -o ${TARGET_FILE}
	strip ${TARGET_FILE}

MiscCoordAdditions.o: MiscCoordAdditions.m
	${CC} -c ${CC_FLAGS} MiscCoordAdditions.m -o MiscCoordAdditions.o

main.o: main.c
	${CC} -c ${CC_FLAGS} main.c -o main.o

clean:
	/bin/rm -fr ${OBJS}
	@echo ""
	@echo "	type 'make help' for info on really cleaning house"

squeaky:
	/bin/rm -fr ${OBJS} ${TARGET_FILE}

help:
	@echo ""
	@echo "Targets are:"
	@echo "	<none> ... basic make with symbols"
	@echo "	final .... basic make with no symbols, target is stripped"
	@echo "	clean .... toss all the object (*.o) files away"
	@echo "	squeaky .. same as clean and also toss the final target"
	@echo "	help ..... what you see is what you get"
	@echo ""
