blob: 3bc0080f8629425c5b6d4a6e115b79068ad6e60c [file] [log] [blame]
Lucas Eckels9bd90e62012-08-06 15:07:02 -07001#
Elliott Hughescee03382017-06-23 12:17:18 -07002# $VER: curl Makefile for AmigaOS ...
Lucas Eckels9bd90e62012-08-06 15:07:02 -07003#
4
5# change the follow to where you have the AmiTCP SDK v4.3 includes:
6
Elliott Hughesa93fb052018-12-12 14:22:48 -08007ATCPSDKI= /GG/netinclude
Lucas Eckels9bd90e62012-08-06 15:07:02 -07008
9
Elliott Hughesa93fb052018-12-12 14:22:48 -080010CC = 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
Lucas Eckels9bd90e62012-08-06 15:07:02 -070016
Lucas Eckels9bd90e62012-08-06 15:07:02 -070017include Makefile.inc
18
Bertrand SIMONNETe6cd7382015-07-01 15:39:44 -070019OBJS = $(CURL_CFILES:.c=.o) $(CURLX_CFILES:.c=.o)
Lucas Eckels9bd90e62012-08-06 15:07:02 -070020
Elliott Hughesa93fb052018-12-12 14:22:48 -080021all: tool_hugehelp.c $(OBJS)
Elliott Hughescee03382017-06-23 12:17:18 -070022 $(CC) $(CFLAGS) -o curl $(OBJS) $(LIBS) -Wl,-Map,curl.map,--cref
Lucas Eckels9bd90e62012-08-06 15:07:02 -070023
Bertrand SIMONNETe6cd7382015-07-01 15:39:44 -070024tool_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
Lucas Eckels9bd90e62012-08-06 15:07:02 -070027
28install:
Elliott Hughescee03382017-06-23 12:17:18 -070029 $(INSTALL) -c curl /c/curl