Merged from the latest developing branch.
[MacVim.git] / src / Make_mint.mak
blob97a2e4b4d13996a20624c9c6a633adb8fd1f62b0
2 # Makefile for Vim on MiNT vim:ts=8:sw=8:tw=78
4 # This is a wrapper around the Unix Makefile. It is configured to accompany
5 # the MiNT distribution of Vim.
7 # See "Makefile" for instructions how to run "make".
9 # BUT: Always run: "make -f Make_mint.mak config",
10 # and then: "make -f Make_mint.mak"!
11 # Otherwise the postprocessing won't get done.
14 ### This Makefile has been successfully tested on these systems.
15 ### Check the (*) column for remarks, listed below.
16 ### Later code changes may cause small problems, otherwise Vim is supposed to
17 ### compile and run without problems.
19 #system: configurations: version (*) tested by:
20 #------------- ------------------------ ------- - ----------
21 #MiNT 1.12.5 gcc gcc-2.6.1 3.29 Jens Felderhoff
22 #MiNT 1.12.6 gcc gcc-2.6.1 -GUI 4.6b Jens Felderhoff
23 #MiNT 1.12.6 gcc gcc-2.6.1 -GUI 4.6 Jens Felderhoff
25 # set this to the pathname prefix of your symbol link editor, i.e. if it is
26 # /usr/local/bin/sym-ld set:
28 SYMLDPREFIX = /usr/local/bin/sym-
29 #SYMLDPREFIX = /gnu/bin/sym-
31 POSTPROCESS = fixstk 20k $(VIMTARGET)
32 DBGPOSTPROCESS = fixstk 20k $(DBGTARGET)
33 DBGLDFLAGS = -B$(SYMLDPREFIX)
34 DBGTARGET = $(VIMTARGET).sym
37 # Default target is making the executable and then do the post processing
38 all: $(VIMTARGET) $(TOOLS)
39 $(POSTPROCESS)
41 debug: $(DBGTARGET)
42 $(DBGPOSTPROCESS)
44 #################### include the Unix Makefile ###############
46 include Makefile
49 ### (M) MiNT with gcc 2.6.1 and gdb 3.5
50 CC = gcc -mint
51 CFLAGS = -g -O -Iproto
53 $(DBGTARGET): $(OBJ) version.c version.h
54 $(CC) -c $(ALL_CFLAGS) version.c
55 $(CC) $(LDFLAGS) $(DBGLDFLAGS) -o $(DBGTARGET) -g $(OBJ) \
56 version.o $(ALL_LIBS)