annotate src/Make_mint.mak @ 231:8eec9649b7a2 v7.0064

updated for version 7.0064
author vimboss
date Fri, 25 Mar 2005 21:58:17 +0000
parents 3fc0f57ecb91
children b9740fb41986
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 ### This Makefile has been succesfully tested on these systems.
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)