summaryrefslogtreecommitdiff
path: root/src/makefile.amiga
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-13 08:35:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-13 08:35:57 +0000
commit36f76396ea913b4596e6af3e7114e800d9aafef9 (patch)
tree369b5e0229194c8ad638fbdb542b1e357bb29c94 /src/makefile.amiga
parent1cb3cd1463c7a661863662dccf5c12600b4a4c70 (diff)
downloadcurl-36f76396ea913b4596e6af3e7114e800d9aafef9.tar.gz
Diego Casorran's fixes to allow native AmigaOS builds
Diffstat (limited to 'src/makefile.amiga')
-rw-r--r--src/makefile.amiga11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/makefile.amiga b/src/makefile.amiga
index ea303508d..51e084d4b 100644
--- a/src/makefile.amiga
+++ b/src/makefile.amiga
@@ -10,13 +10,20 @@ ATCPSDKI= /GG/netinclude
CC = gcc
CFLAGS = -I$(ATCPSDKI) -m68020-60 -noixemul -I. -I../include -W -Wall
LIBS = ../lib/libcurl.a -lsslnix -lcryptonix -lz
+MANPAGE = ../docs/curl.1
+README = ../docs/MANUAL
+MKHELP = ../src/mkhelp.pl
-OBJS = getpass.c homedir.c hugehelp.c main.c urlglob.c writeenv.c writeout.c
+OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c
-all: $(OBJS:.c=.o)
+all: hugehelp.c $(OBJS:.c=.o)
$(CC) $(CFLAGS) -s -o cURL $(OBJS:.c=.o) $(LIBS)
+hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
+ rm -f hugehelp.c
+ /bin/nroff -man $(MANPAGE) | /bin/perl $(MKHELP) -c $(README) > hugehelp.c
+
install:
$(INSTALL) -c cURL /c/cURL