aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-02-13 14:27:36 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-03-21 10:22:03 +0000
commit3dcb4ec145d21c0ec1c4dc8b11cec61a4b88fc88 (patch)
treef936d61f9ca458e126e5a87eae3d08f861e4baf1
parentb0a737c5cdbd7de3790bc5cf9a0e4b21dd1aed56 (diff)
downloadsyslinux-3dcb4ec145d21c0ec1c4dc8b11cec61a4b88fc88.tar.gz
syslinux-3dcb4ec145d21c0ec1c4dc8b11cec61a4b88fc88.tar.xz
syslinux-3dcb4ec145d21c0ec1c4dc8b11cec61a4b88fc88.zip
com32/menu: vesamenu.c32 and menu.c32 require multiple obj files
The standard %.c32 rule in mk/elf.mk doesn't work for vesamenu.c32 and menu.c32 because they need multiple object files to be linked. Replace the *.elf targets with *.c32 because .c32 *IS* an ELF file now. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--com32/menu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/menu/Makefile b/com32/menu/Makefile
index 5a9b3c6a..e1c700b2 100644
--- a/com32/menu/Makefile
+++ b/com32/menu/Makefile
@@ -28,10 +28,10 @@ COMMONOBJS = menumain.o readconfig.o passwd.o drain.o printmsg.o colors.o \
all: $(MODULES) $(TESTFILES)
-menu.elf : menu.o $(COMMONOBJS) $(C_LIBS)
+menu.c32 : menu.o $(COMMONOBJS) $(C_LIBS)
$(LD) $(LDFLAGS) -o $@ $^
-vesamenu.elf : vesamenu.o $(COMMONOBJS) $(C_LIBS)
+vesamenu.c32 : vesamenu.o $(COMMONOBJS) $(C_LIBS)
$(LD) $(LDFLAGS) -o $@ $^
tidy dist: