1# 2# $VER: cURL Makefile for AmigaOS ... 3# 4 5# change the follow to where you have the AmiTCP SDK v4.3 includes: 6 7ATCPSDKI= /GG/netinclude 8 9 10CC = m68k-amigaos-gcc 11CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall 12LIBS = ../lib/libcurl.a -lssl -lcrypto -lz 13MANPAGE = ../docs/curl.1 14README = ../docs/MANUAL 15MKHELP = ../src/mkhelp.pl 16 17include Makefile.inc 18 19OBJS = $(CURL_CFILES:.c=.o) $(CURLX_CFILES:.c=.o) 20 21all: tool_hugehelp.c $(OBJS) 22 $(CC) $(CFLAGS) -o cURL $(OBJS) $(LIBS) -Wl,-Map,cURL.map,--cref 23 24tool_hugehelp.c: $(README) $(MANPAGE) mkhelp.pl 25 rm -f tool_hugehelp.c 26 /bin/nroff -man $(MANPAGE) | /bin/perl $(MKHELP) -c $(README) > tool_hugehelp.c 27 28install: 29 $(INSTALL) -c cURL /c/cURL 30 31