annotate src/xxd/Make_vms.mms @ 5830:e8ffd1e6c8dc v7.4.258

updated for version 7.4.258 Problem: Configure fails if $CC contains options. Solution: Remove quotes around $CC. (Paul Barker)
author Bram Moolenaar <bram@vim.org>
date Sat, 12 Apr 2014 13:12:24 +0200
parents 3fc0f57ecb91
children 4481f3b29fc5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # VMS MM[KS] makefile for XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # tested with MMK and MMS as well.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Maintained by Zoltan Arpadffy <arpadffy@polarhome.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 # Edit the lines in the Configuration section below to select.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # To build: use the following command line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # mms/descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # or if you use mmk
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # mmk/descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 # Configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 # Compiler selection.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 # Comment out if you use the VAXC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 # DECC = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 #####################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # Uncomment if want a debug version. Resulting executable is DVIM.EXE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # DEBUG = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 # End of configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 # Please, do not change anything below without programming experience.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 CC = cc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 .IFDEF DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 CC_DEF = $(CC)/decc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 PREFIX = /prefix=all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 CC_DEF = $(CC)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 PREFIX =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 LD_DEF = link
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 .IFDEF DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 TARGET = dxxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 CFLAGS = /debug/noopt$(PREFIX)/cross_reference/include=[]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 LDFLAGS = /debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 TARGET = xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 CFLAGS = /opt$(PREFIX)/include=[]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 LDFLAGS =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 .SUFFIXES : .obj .c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 SOURCES = xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 OBJ = xxd.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 .obj.c :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 $(CC_DEF) $(CFLAGS) $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 $(TARGET) : $(OBJ)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) $+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 clean :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 -@ if "''F$SEARCH("*.obj")'" .NES. "" then delete/noconfirm/nolog *.obj;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 -@ if "''F$SEARCH("*.exe")'" .NES. "" then delete/noconfirm/nolog *.exe;*