Makefile 951 Bytes
#!smake
#
# 
#
# $Revision: 1.1.1.1 $
#

PRDEPTH = ../../../..
include $(PRDEPTH)/PRdefs

#
#  Tools
#

#
#  Directories
#
SIMLIB		= $(PRDEPTH)/rdpsim/simlib
HDR    		= $(PRDEPTH)/rdpsim/hdr
INDATA 		= .

#
#  C Sources
#  For each of these .tab files there is a corresponding .c
#  file which prints tabular data on stdout.  Each .c file
#  can be compiled to an executable.
#
TAB_FILES 	= inp000.tab \
		  inp001.tab \
		  inp002.tab \
		  inp003.tab \
		  inp004.tab \
		  inp005.tab


#
#  Header file Directories
#
LCINCS 		= -I. \
	 	-I$(SIMLIB) \
	 	-I$(HDR) \
		-fullwarn

GCINCS 		=
#
#  Linker Directories and Options
# 
LLDOPTS 	= -L. -L$(SIMLIB)
GLDOPTS 	=
LLDLIBS 	= 
LNFLAGS 	= $(CFLAGS) 

#
#  Default Targets
#
TARGETS 	= tab_files
LDIRT   	= *.log *~ $(TAB_FILES) inp[0-9][0-9][0-9]

default install: $(TARGETS)
	

#
#  SGI Common Rules
#
include $(PRDEPTH)/PRrules

#
#  Create 'tab' files from 'C' files
#
tab_files: $(TAB_FILES)