view src/xxd/Make_amiga.mak @ 15912:57a353715a8f v8.1.0962

patch 8.1.0962: building with MinGW and static libs doesn't work commit https://github.com/vim/vim/commit/d91e5dafd5ec57d8e61f1a6ba3628a255785c25c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 21 13:34:07 2019 +0100 patch 8.1.0962: building with MinGW and static libs doesn't work Problem: Building with MinGW and static libs doesn't work. (Salman Halim) Solution: Add -lgcc. (Ken Takata)
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Feb 2019 13:45:06 +0100
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