summaryrefslogtreecommitdiff
path: root/ar/Makefile
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2003-09-20 19:44:36 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:49 +0200
commit22950ba3df3a0b739786243679d69cd4094e8b20 (patch)
tree942907e918e556d340dcbcb8ffdc0f7d020a275e /ar/Makefile
parent5613ba3c0749fa494d35c4dc36b57c5b4e6edb55 (diff)
downloaddev86-22950ba3df3a0b739786243679d69cd4094e8b20.tar.gz
Import Dev86src-0.16.13.tar.gzv0.16.13
Diffstat (limited to 'ar/Makefile')
-rw-r--r--ar/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ar/Makefile b/ar/Makefile
index 792a77a..490a1f6 100644
--- a/ar/Makefile
+++ b/ar/Makefile
@@ -6,12 +6,12 @@ LIBDIR =/usr/bin
CFLAGS =-O
LDFLAGS =
DEFS =
-OBJS= ar.o
+OBJS= ar.o alloca.o
all: ar86
ar86: $(OBJS)
- $(CC) $(LDFLAGS) $^ -o $@
+ $(CC) $(LDFLAGS) $(OBJS) -o $@
install: ar86
install -d $(LIBDIR)
@@ -23,12 +23,12 @@ clean realclean clobber:
$(OBJS): ar.h rel_aout.h
ar.h:
- [ -f ar.h ] || \
+ test -f ar.h || \
{ rm -f ar.h ; ln -s ../libc/include/ar.h . ; } || \
ln ../libc/include/ar.h .
rel_aout.h:
- [ -f rel_aout.h ] || \
+ test -f rel_aout.h || \
{ rm -f rel_aout.h ; ln -s ../ld/rel_aout.h . ; } || \
ln ../ld/rel_aout.h .