summaryrefslogtreecommitdiffstats
path: root/contrib/byacc/descrip.mms
blob: 007468b07b362ffac7c2c0deea7bdb581e5a1c13 (plain)
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
CFLAGS = /decc $(CC_OPTIONS)/Diagnostics /Define=(NDEBUG) /Object=$@ /Include=([])

LINKFLAGS	= /map=$(MMS$TARGET_NAME)/cross_reference/exec=$(MMS$TARGET_NAME).exe

LINKER	      = cc

OBJS	      = closure.obj, \
		error.obj, \
		lalr.obj, \
		lr0.obj, \
		main.obj, \
		mkpar.obj, \
		output.obj, \
		reader.obj, \
		yaccpar.obj, \
		symtab.obj, \
		verbose.obj, \
		warshall.obj

PROGRAM	      = yacc.exe

all :		$(PROGRAM)

$(PROGRAM) :     $(OBJS)
	@ write sys$output "Loading $(PROGRAM) ... "
	@ $(LINK) $(LINKFLAGS) $(OBJS)
	@ write sys$output "done"

clean :
	@- if f$search("*.obj") .nes. "" then delete *.obj;*
	@- if f$search("*.lis") .nes. "" then delete *.lis;*
	@- if f$search("*.log") .nes. "" then delete *.log;*

clobber :	clean
	@- if f$search("*.exe") .nes. "" then delete *.exe;*

$(OBJS) : defs.h
OpenPOWER on IntegriCloud