view src/xxd/Make_amiga.mak @ 19834:2ef25a007bb7 v8.2.0473

patch 8.2.0473: variables declared in an outer scope Commit: https://github.com/vim/vim/commit/8601545338581c01e328cdc3a72c0b12d92c54cf Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 29 15:12:15 2020 +0200 patch 8.2.0473: variables declared in an outer scope Problem: Variables declared in an outer scope. Solution: Decleare variables only in the scope where they are used.
author Bram Moolenaar <Bram@vim.org>
date Sun, 29 Mar 2020 15:15:04 +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