summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2001-03-20 18:55:18 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:47:06 +0200
commit6d269edda0f49741484c1da6c71d24c031abc9ce (patch)
tree9ab1d8a21978e97ba9325f393c945cf9522b2987 /ld
parent4b55feb026b1f64555d7c11c2840fddd8fd029fe (diff)
downloaddev86-6d269edda0f49741484c1da6c71d24c031abc9ce.tar.gz
Import Dev86src-0.15.5.tar.gzv0.15.5
Diffstat (limited to 'ld')
-rw-r--r--ld/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/Makefile b/ld/Makefile
index ec4e91e..393876c 100644
--- a/ld/Makefile
+++ b/ld/Makefile
@@ -21,11 +21,11 @@ OBJS= dumps.o io.o ld.o readobj.o table.o typeconv.o linksyms.o \
all: ld86 objchop catimage objdump86
ld86: $(OBJS)
- $(CC) $(LDFLAGS) $(OBJS) -o $@
+ $(CC) $(LDFLAGS) $^ -o $@
install: ld86
install -d $(LIBDIR)
- install -m 755 ld86 $(LIBDIR)
+ install -m 755 $^ $(LIBDIR)
clean realclean clobber:
rm -f *.o ld86 ld86r objchop catimage objdump86
@@ -39,7 +39,7 @@ ar.h:
ln ../libc/include/ar.h .
writebin.o: writebin.c
- $(CC) $(CFLAGS) $(DEFS) $(NATIVE) -c writebin.c
+ $(CC) $(CFLAGS) $(DEFS) $(NATIVE) -c $<
writerel.o: writebin.c