aboutsummaryrefslogtreecommitdiffstats
path: root/mtools
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-28 18:58:00 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-28 18:58:00 -0700
commit4ba801edb01acae7281fe09f6225c38390033817 (patch)
tree6bee72af361b984332a6414297f2c10f4d6016ad /mtools
parentff747ef4c75c9e55c9d5c5552126d994c96da245 (diff)
downloadsyslinux.git-4ba801edb01acae7281fe09f6225c38390033817.tar.gz
syslinux.git-4ba801edb01acae7281fe09f6225c38390033817.tar.xz
syslinux.git-4ba801edb01acae7281fe09f6225c38390033817.zip
Assemble via ELF, to enable future linking
Assemble all files to ELF instead of using the NASM built-in linker. This can enable us to do actual linking in the future.
Diffstat (limited to 'mtools')
-rw-r--r--mtools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mtools/Makefile b/mtools/Makefile
index 7175bb3f..a53e378f 100644
--- a/mtools/Makefile
+++ b/mtools/Makefile
@@ -12,7 +12,8 @@ INCLUDES = -I. -I.. -I../libfat -I../libinstaller
CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
LDFLAGS = $(LDHASH) -s
-SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c $(wildcard ../libfat/*.c)
+SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c \
+ $(wildcard ../libfat/*.c)
OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS)))
.SUFFIXES: .c .o .i .s .S