aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-10-12 12:12:40 -0700
committerDan Fandrich <dan@coneharvesters.com>2010-10-12 12:13:32 -0700
commitb80490641414983404eda65095224535a41a12ec (patch)
tree3146ecc60b9229a2d1705e01e55d5c013004b4af
parent2869b6ea2b96e36873f5c59660f1870387cca390 (diff)
Get the curl source files for Amiga from Makefile.inc
This is similar to how it's done in the lib directory. The Amiga build appears to have been broken for a year because of a missing homedir.c
-rw-r--r--src/makefile.amiga9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/makefile.amiga b/src/makefile.amiga
index a242950f5..dc984811a 100644
--- a/src/makefile.amiga
+++ b/src/makefile.amiga
@@ -14,11 +14,14 @@ MANPAGE = ../docs/curl.1
README = ../docs/MANUAL
MKHELP = ../src/mkhelp.pl
-OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c curlutil.c os-specific.c ../lib/rawstr.c ../lib/nonblock.c
+top_srcdir = ..
+include Makefile.inc
-all: hugehelp.c $(OBJS:.c=.o)
- $(CC) $(CFLAGS) -o cURL $(OBJS:.c=.o) $(LIBS) -Wl,-Map,cURL.map,--cref
+OBJS = $(CURL_CFILES:.c=.o) $(CURLX_ONES:.c=.o)
+
+all: hugehelp.c $(OBJS)
+ $(CC) $(CFLAGS) -o cURL $(OBJS) $(LIBS) -Wl,-Map,cURL.map,--cref
hugehelp.c: $(README) $(MANPAGE) mkhelp.pl
rm -f hugehelp.c