diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-04-06 18:42:39 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-04-06 18:42:39 -0700 |
commit | dd26697412c42e645bef45afec4e8bec223b14a5 (patch) | |
tree | 6598038e6706493fde35c147c66a94665a475369 /Makefile.in | |
parent | d7642a4a262ef80ee29560c6d09da0c4f0113d84 (diff) | |
download | nasm-dd26697412c42e645bef45afec4e8bec223b14a5.tar.gz |
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.in | 6 |
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 --# |