summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-26 23:55:34 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-26 23:55:34 +0000
commite26f002571156596b2c468b0c6f0963da6989ab2 (patch)
tree1f070ee8f7989e1d2e2670322037eac72f16b62f /Makefile.in
parentac300c4ecb1704ef7137d457f9c23455ca4f2afe (diff)
downloadnasm-e26f002571156596b2c468b0c6f0963da6989ab2.tar.gz
nasm-e26f002571156596b2c468b0c6f0963da6989ab2.tar.bz2
nasm-e26f002571156596b2c468b0c6f0963da6989ab2.zip
Add a way to link with specific system libraries (e.g. efence).
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 479e2d2..9fd2f08 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -17,6 +17,7 @@ mandir = @mandir@
CC = @CC@
CFLAGS = @CFLAGS@ @GCCFLAGS@ -I$(srcdir) -I.
LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -56,10 +57,10 @@ all: nasm$(X) ndisasm$(X) nasm.man ndisasm.man
cd rdoff && $(MAKE) all
nasm$(X): $(NASM)
- $(CC) $(LDFLAGS) -o nasm$(X) $(NASM)
+ $(CC) $(LDFLAGS) -o nasm$(X) $(NASM) $(LIBS)
ndisasm$(X): $(NDISASM)
- $(CC) $(LDFLAGS) -o ndisasm$(X) $(NDISASM)
+ $(CC) $(LDFLAGS) -o ndisasm$(X) $(NDISASM) $(LIBS)
assemble.$(O): assemble.c nasm.h version.h insnsi.h nasmlib.h assemble.h insns.h
disasm.$(O): disasm.c nasm.h version.h insnsi.h disasm.h sync.h insns.h names.c insnsn.c