view src/xxd/Make_amiga.mak @ 11510:deb9295dccda v8.0.0638

patch 8.0.0638: cannot build with new MSVC version commit https://github.com/vim/vim/commit/d7383881c8e9f474a909b54b21abb0aa2b412ba2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 13 15:22:12 2017 +0200 patch 8.0.0638: cannot build with new MSVC version Problem: Cannot build with new MSVC version VS2017. Solution: Change the compiler arguments. (Leonardo Manera, closes https://github.com/vim/vim/issues/1731, closes #1747)
author Christian Brabandt <cb@256bit.org>
date Tue, 13 Jun 2017 15:30:03 +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