#
# A Makefile that makes a local cheops executable
#  written by Shawn.        (last updated 1/29/92)
#
# This file depends upon usage of /cheops/doc/.cheops-env to define
# cheops environment variables.
#
# Usage:
#  `make clean'             to remove all targets for a fresh start
#  `make' or `make all'     to make all targets
#  `make clean all'         to remove all targets and then make them all
#  `make clean install'     to remove all targets, make them all, and then
#                           install them into the CHEOPS_LOCAL_BIN
#  `make env'               to see if current environment is compatible with
#                           that of last compilation without making all
#                           targets.
#  `make listing'           to list the downloadable addresses of 
#                           functions and variables
#
# How to modify this Makefile to suit your needs
#
# 1. DEFINE name of executable binary file
# 2. DEFINE list of object files
# 3. DEFINE compiler and linker flags
# 4. DEFINE special dependancies
#

#******************************************
# 1. DEFINE name of executable binary file
#******************************************

BINFILE = basic

#********************************
# 2. DEFINE list of object files
#********************************

OBJS = basic.o

#*************************************
# 3. DEFINE compiler and linker flags
#*************************************

CCDEFS = -D${CHEOPS_TYPE} -D${HOST_TYPE}
CCOPTS = -Wall
INCS = -I$(CHEOPS_LOCAL_INC) -I$(G960INC)

LDOPTS = -L$(CHEOPS_LOCAL_LIB) -L$(G960LIB)
LIBS = -lcheops_dat -lcheops_out -lcheops_img -lcheops -lm7cgca -lfpg #-lffpgca 
FIXED = -Ttext 30080000 
UNFXD = -r

# get standard rules and settings -- DO NOT CHANGE THIS LINE
include ${CHEOPS_LOCAL_BIN_RULES}

#********************************
# 4. DEFINE special dependancies
#********************************

STD_DEPENDS = Makefile

basic : $(CHEOPS_LOCAL_LIB)/libcheops.a

basic.o : ${STANDARD_DEPENDS}








