Makefile 1.02 KB
#!smake
#
# 
#
# $Revision: 1.1.1.1 $
#

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

#
#  Tools
#

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

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

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

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

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

default install: $(TARGETS)
	

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

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