summaryrefslogtreecommitdiff
path: root/sample/Makefile
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-02-18 21:18:15 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-25 20:58:42 -0800
commit7f64a90cef11d0e2d39589779e41d60c42bf9de4 (patch)
tree07f7a7be9d9c9244eba49b5e98cb3ee9abb88508 /sample/Makefile
parent8b77b4c6007b5b3a749d36a89ee5f48d109fb47d (diff)
downloadsyslinux-7f64a90cef11d0e2d39589779e41d60c42bf9de4.tar.gz
hdt: Moving hdt from sample to its own directory
Diffstat (limited to 'sample/Makefile')
-rw-r--r--sample/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/sample/Makefile b/sample/Makefile
index e6a1a92c..e4c4a6d6 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -30,7 +30,7 @@ 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 hdt.c32 $(LIB)
+ fd.c32 $(LIB)
.PRECIOUS: %.o
%.o: %.S
@@ -44,12 +44,6 @@ all: syslogo.lss comecho.com hello.c32 hello2.c32 filetest.c32 c32echo.c32 \
%.elf: c32entry.o %.o $(LIB)
$(LD) -Ttext 0x101000 -e _start -o $@ $^
-hdt.o: hdt.c
- $(CC) $(CFLAGS) -std=gnu99 -D__COM32__ -I$(topdir)/menu/libmenu/ -c -o $@ $<
-
-hdt.elf: hdt.o $(com32)/modules/cpuid.o $(com32)/modules/dmi.o $(topdir)/menu/libmenu/libmenu.a $(LIB) $(C_LIBS)
- $(LD) $(LDFLAGS) -o $@ $^
-
%.c32: %.elf
$(OBJCOPY) -O binary $< $@