summaryrefslogtreecommitdiffstats
path: root/src/xxd/Make_amiga.mak
blob: be382027b5a78c6b05aa4882ec38406e36440a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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