Makefile
1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!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)