annotate src/Make_mint.mak @ 10026:4f2894f3680c

Added tag v7.4.2285 for changeset 068f397d0da401dfac57d8604867609c1f341c6f
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Aug 2016 18:15:05 +0200
parents b9740fb41986
children
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 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Makefile for Vim on MiNT vim:ts=8:sw=8:tw=78
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # This is a wrapper around the Unix Makefile. It is configured to accompany
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 # the MiNT distribution of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 # See "Makefile" for instructions how to run "make".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 # BUT: Always run: "make -f Make_mint.mak config",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # and then: "make -f Make_mint.mak"!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # Otherwise the postprocessing won't get done.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 7
diff changeset
14 ### This Makefile has been successfully tested on these systems.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 ### Check the (*) column for remarks, listed below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 ### Later code changes may cause small problems, otherwise Vim is supposed to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ### compile and run without problems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 #system: configurations: version (*) tested by:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #------------- ------------------------ ------- - ----------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 #MiNT 1.12.5 gcc gcc-2.6.1 3.29 Jens Felderhoff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 #MiNT 1.12.6 gcc gcc-2.6.1 -GUI 4.6b Jens Felderhoff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 #MiNT 1.12.6 gcc gcc-2.6.1 -GUI 4.6 Jens Felderhoff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # set this to the pathname prefix of your symbol link editor, i.e. if it is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # /usr/local/bin/sym-ld set:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 SYMLDPREFIX = /usr/local/bin/sym-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 #SYMLDPREFIX = /gnu/bin/sym-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 POSTPROCESS = fixstk 20k $(VIMTARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 DBGPOSTPROCESS = fixstk 20k $(DBGTARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 DBGLDFLAGS = -B$(SYMLDPREFIX)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 DBGTARGET = $(VIMTARGET).sym
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # Default target is making the executable and then do the post processing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 all: $(VIMTARGET) $(TOOLS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 $(POSTPROCESS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 debug: $(DBGTARGET)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 $(DBGPOSTPROCESS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 #################### include the Unix Makefile ###############
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 include Makefile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 ### (M) MiNT with gcc 2.6.1 and gdb 3.5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 CC = gcc -mint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 CFLAGS = -g -O -Iproto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 $(DBGTARGET): $(OBJ) version.c version.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 $(CC) -c $(ALL_CFLAGS) version.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 $(CC) $(LDFLAGS) $(DBGLDFLAGS) -o $(DBGTARGET) -g $(OBJ) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 version.o $(ALL_LIBS)