annotate src/xxd/Make_amiga.mak @ 8671:8f6bc5626829
v7.4.1625
commit https://github.com/vim/vim/commit/be6aa46c4d8948e164f7d181dc19ed2fc4818395
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 20 21:02:00 2016 +0100
patch 7.4.1625
Problem: Trying to close file descriptor that isn't open.
Solution: Check for negative number.
author |
Christian Brabandt <cb@256bit.org> |
date |
Sun, 20 Mar 2016 21:15:05 +0100 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 # Makefile for xxd on the Amiga, using Aztec/Manx C 5.0 or later
|
|
2 #
|
|
3
|
|
4 #>>>>> choose between debugging (-bs) or optimizing (-so)
|
|
5 OPTIONS = -so
|
|
6 #OPTIONS = -bs
|
|
7
|
|
8 #>>>>>> choose -g for debugging
|
|
9 LN_DEBUG =
|
|
10 #LN_DEBUG = -g
|
|
11
|
|
12 CFLAGS = $(OPTIONS) -wapruq -ps -qf -DAMIGA -Dconst=
|
|
13
|
|
14 Xxd: xxd.o
|
|
15 ln +q -m $(LN_DEBUG) -o Xxd xxd.o -lc16
|
|
16
|
|
17 xxd.o: xxd.c
|
|
18 cc $(CFLAGS) xxd.c -o xxd.o
|