aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-06 18:42:39 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-06 18:42:39 -0700
commitdd26697412c42e645bef45afec4e8bec223b14a5 (patch)
tree6598038e6706493fde35c147c66a94665a475369 /Makefile.in
parentd7642a4a262ef80ee29560c6d09da0c4f0113d84 (diff)
downloadnasm-dd26697412c42e645bef45afec4e8bec223b14a5.tar.gz
nasm-dd26697412c42e645bef45afec4e8bec223b14a5.tar.xz
nasm-dd26697412c42e645bef45afec4e8bec223b14a5.zip
Makefile.in: fix dumb mistakes
Fix a few dumb but serious mistables in Makefile.in that prevented anything from actually getting linked. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index d716494c..0a8cd498 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -88,7 +88,7 @@ endif
# This rule is only used for rdoff, to allow common rules
.$(O)$(X):
- $(CC) $(LDFLAGS) -o $@ $(NDISASM) $(RDFLIB) $(NASMLIB) $(LIBS)
+ $(CC) $(LDFLAGS) -o $@ $< $(RDFLIB) $(NASMLIB) $(LIBS)
#-- Begin File Lists --#
NASM = asm/nasm.$(O)
@@ -150,10 +150,10 @@ $(NASMLIB): $(LIBOBJ)
$(RANLIB) $(NASMLIB)
nasm$(X): $(NASM) $(NASMLIB)
- $(LD) $(LDFLAGS) -o nasm$(X) $(NASM) $(NASMLIB) $(LIBS)
+ $(CC) $(LDFLAGS) -o nasm$(X) $(NASM) $(NASMLIB) $(LIBS)
ndisasm$(X): $(NDISASM) $(NASMLIB)
- $(LD) $(LDFLAGS) -o ndisasm$(X) $(NDISASM) $(NASMLIB) $(LIBS)
+ $(CC) $(LDFLAGS) -o ndisasm$(X) $(NDISASM) $(NASMLIB) $(LIBS)
#-- Begin Generated File Rules --#