1# Makefile for xxd on the Amiga, using Aztec/Manx C 5.0 or later
2#
3
4#>>>>> choose between debugging (-bs) or optimizing (-so)
5OPTIONS = -so
6#OPTIONS = -bs
7
8#>>>>>> choose -g for debugging
9LN_DEBUG =
10#LN_DEBUG = -g
11
12CFLAGS = $(OPTIONS) -wapruq -ps -qf -DAMIGA -Dconst=
13
14Xxd: xxd.o
15	ln +q -m $(LN_DEBUG) -o Xxd xxd.o -lc16
16
17xxd.o: xxd.c
18	cc $(CFLAGS) xxd.c -o xxd.o
19