Mercurial > vim
view src/xxd/Make_amiga.mak @ 27758:5a8258fde1d9 v8.2.4405
patch 8.2.4405: compiler warning for unused variable without +folding
Commit: https://github.com/vim/vim/commit/8329ab79b26be4c6c5766d80abae4a22385ee9e1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 16 21:51:00 2022 +0000
patch 8.2.4405: compiler warning for unused variable without +folding
Problem: Compiler warning for unused variable without the +folding feature.
(Tony Mechelynck)
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Feb 2022 23:00:04 +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