1 # 2 # $VER: curl Makefile for AmigaOS ... 3 # 4 5 # change the follow to where you have the AmiTCP SDK v4.3 includes: 6 7 ATCPSDKI= /GG/netinclude 8 9 10 CC = m68k-amigaos-gcc 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 16 17 include Makefile.inc 18 19 OBJS = $(CURL_CFILES:.c=.o) $(CURLX_CFILES:.c=.o) 20 21 all: tool_hugehelp.c $(OBJS) 22 $(CC) $(CFLAGS) -o curl $(OBJS) $(LIBS) -Wl,-Map,curl.map,--cref 23 24 tool_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 28 install: 29 $(INSTALL) -c curl /c/curl 30