aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux/Makefile
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 /extlinux/Makefile
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 'extlinux/Makefile')
-rw-r--r--extlinux/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/extlinux/Makefile b/extlinux/Makefile
index f4267020..88d4d1a9 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -12,7 +12,8 @@ INCLUDES = -I. -I.. -I../libinstaller
CFLAGS = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
LDFLAGS = $(LDHASH) # -s
-SRCS = extlinux.c setadv.c extlinux_bss_bin.c extlinux_sys_bin.c
+SRCS = main.c ../libinstaller/setadv.c \
+ ../extlinux_bss_bin.c ../extlinux_sys_bin.c
OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS)))
.SUFFIXES: .c .o .i .s .S