]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/src/makefile.amiga
Various Mac OS X tweaks to get this to build. Probably breaking things.
[icculus/iodoom3.git] / neo / curl / src / makefile.amiga
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      =       gcc
11 CFLAGS  =       -I$(ATCPSDKI) -m68020-60 -noixemul -I. -I../include -W -Wall
12 LIBS    =       ../lib/libcurl.a -lsslnix -lcryptonix -lz
13 MANPAGE =       ../docs/curl.1
14 README  =       ../docs/MANUAL
15 MKHELP  =       ../src/mkhelp.pl
16
17 OBJS    =       getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c 
18
19
20 all:    hugehelp.c $(OBJS:.c=.o)
21         $(CC) $(CFLAGS) -s -o cURL $(OBJS:.c=.o) $(LIBS)
22
23 hugehelp.c: $(README) $(MANPAGE)  mkhelp.pl
24         rm -f hugehelp.c
25         /bin/nroff -man $(MANPAGE) | /bin/perl $(MKHELP) -c $(README) > hugehelp.c
26
27 install:
28         $(INSTALL) -c cURL /c/cURL
29