summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1998-09-22 17:44:32 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:40:35 +0200
commit2233d47f9d89c107b6c425626d6eb2669363b055 (patch)
tree429df42a8f6ed7174868af04edd364cd778a4d54 /ld
parentec5f28e3f1400b5dacb88eda2d9db472a20b4349 (diff)
downloaddev86-2233d47f9d89c107b6c425626d6eb2669363b055.tar.gz
Import Dev86src-0.14.5.tar.gzv0.14.5
Diffstat (limited to 'ld')
-rw-r--r--ld/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/Makefile b/ld/Makefile
index 6dad38a..ec4e91e 100644
--- a/ld/Makefile
+++ b/ld/Makefile
@@ -27,14 +27,15 @@ install: ld86
install -d $(LIBDIR)
install -m 755 ld86 $(LIBDIR)
-clean realclean:
+clean realclean clobber:
rm -f *.o ld86 ld86r objchop catimage objdump86
$(OBJS): align.h ar.h bindef.h byteord.h config.h const.h globvar.h obj.h \
syshead.h type.h x86_aout.h
ar.h:
- ln -s ../libc/include/ar.h . || \
+ [ -f ar.h ] || \
+ { rm -f ar.h ; ln -s ../libc/include/ar.h . ; } || \
ln ../libc/include/ar.h .
writebin.o: writebin.c