2 # $VER: cURL Makefile for AmigaOS ...
5 # change the follow to where you have the AmiTCP SDK v4.3 includes:
7 ATCPSDKI= /GG/netinclude
11 CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall
12 LIBS = ../lib/libcurl.a -lssl -lcrypto -lz
13 MANPAGE = ../docs/curl.1
14 README = ../docs/MANUAL
15 MKHELP = ../src/mkhelp.pl
17 OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c curlutil.c
20 all: hugehelp.c $(OBJS:.c=.o)
21 $(CC) $(CFLAGS) -o cURL $(OBJS:.c=.o) $(LIBS) -Wl,-Map,cURL.map,--cref
23 hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
25 /bin/nroff -man $(MANPAGE) | /bin/perl $(MKHELP) -c $(README) > hugehelp.c
28 $(INSTALL) -c cURL /c/cURL