aboutsummaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-12 21:26:39 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-12 21:26:39 -0700
commit4171516d8fa8997db187a8d41a51344402c2dc8d (patch)
treefb2e1f310dc4bf6e9b442a09c1bc343767e8aa59 /sample
parent14b47f77ec944c0cc8cb56d5e220ce67846dcf4d (diff)
parent7a708f025b241d8aca62014ebe7279fc605b1a46 (diff)
downloadsyslinux-4171516d8fa8997db187a8d41a51344402c2dc8d.tar.gz
syslinux-4171516d8fa8997db187a8d41a51344402c2dc8d.tar.xz
syslinux-4171516d8fa8997db187a8d41a51344402c2dc8d.zip
Merge branch 'hdt'
Diffstat (limited to 'sample')
-rw-r--r--sample/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sample/Makefile b/sample/Makefile
index 8560b3e1..e4c4a6d6 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -20,10 +20,15 @@ include $(topdir)/MCONFIG.embedded
INCLUDES = -I$(com32)/include
PPMTOLSS16 = $(topdir)/utils/ppmtolss16
+LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc)
LIB = liboldcom32.a
LIBOBJS = conio.o atou.o skipatou.o printf.o c32exit.o
+com32 = $(topdir)/com32
+C_LIBS = $(com32)/libutil/libutil_com.a $(com32)/lib/libcom32.a $(LIBGCC)
+LDFLAGS = -m elf_i386 -T $(com32)/lib/com32.ld
+
all: syslogo.lss comecho.com hello.c32 hello2.c32 filetest.c32 c32echo.c32 \
fd.c32 $(LIB)