blob: 9f3748b1aa4f2e24c3e6e8d165a535614551b9d4 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
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