view src/xxd/Make_amiga.mak @ 13726:d35b1702a1da v8.0.1735

patch 8.0.1735: flexible array member feature not supported by HP-UX commit https://github.com/vim/vim/commit/285e3358696b1bc6296e5d4c53425680ce8fbd54 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 18 23:01:13 2018 +0200 patch 8.0.1735: flexible array member feature not supported by HP-UX Problem: Flexible array member feature not supported by HP-UX. (John Marriott) Solution: Do not use the flexible array member feature of C99.
author Christian Brabandt <cb@256bit.org>
date Wed, 18 Apr 2018 23:15:06 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

# Makefile for xxd on the Amiga, using Aztec/Manx C 5.0 or later
#

#>>>>> choose between debugging (-bs) or optimizing (-so)
OPTIONS = -so
#OPTIONS = -bs

#>>>>>> choose -g for debugging
LN_DEBUG =
#LN_DEBUG = -g

CFLAGS = $(OPTIONS) -wapruq -ps -qf -DAMIGA -Dconst=

Xxd: xxd.o
	ln +q -m $(LN_DEBUG) -o Xxd xxd.o -lc16

xxd.o: xxd.c
	cc $(CFLAGS) xxd.c -o xxd.o