Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame^] | 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) | ||||
5 | OPTIONS = -so | ||||
6 | #OPTIONS = -bs | ||||
7 | |||||
8 | #>>>>>> choose -g for debugging | ||||
9 | LN_DEBUG = | ||||
10 | #LN_DEBUG = -g | ||||
11 | |||||
12 | CFLAGS = $(OPTIONS) -wapruq -ps -qf -DAMIGA -Dconst= | ||||
13 | |||||
14 | Xxd: xxd.o | ||||
15 | ln +q -m $(LN_DEBUG) -o Xxd xxd.o -lc16 | ||||
16 | |||||
17 | xxd.o: xxd.c | ||||
18 | cc $(CFLAGS) xxd.c -o xxd.o |