[syslinux:pathbased] cmenu: remove obsolete Makefile rules

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Wed May 12 16:15:02 PDT 2010


Commit-ID:  e396d6cb00469cfa5a52ad899d0f0c9f9a46997d
Gitweb:     http://syslinux.zytor.com/commit/e396d6cb00469cfa5a52ad899d0f0c9f9a46997d
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 12 May 2010 16:14:19 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 12 May 2010 16:14:19 -0700

cmenu: remove obsolete Makefile rules

Remove Makefile rules which were both redundant (../MCONFIG contains
the rules in a central manner) and just plain wrong.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 com32/cmenu/Makefile |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/com32/cmenu/Makefile b/com32/cmenu/Makefile
index 0ede58d..794af74 100644
--- a/com32/cmenu/Makefile
+++ b/com32/cmenu/Makefile
@@ -39,21 +39,6 @@ MENUS = $(CMENUS) $(IMENUS)
 %.c: %.menu adv_menu.tpl
 	python menugen.py --input=$< --output=$@ --template=adv_menu.tpl
 
-.PRECIOUS: %.o
-%.o: %.S
-	$(CC) $(MAKEDEPS) $(SFLAGS) -c -o $@ $<
-
-.PRECIOUS: %.o
-%.o: %.c %.h
-	$(CC) $(MAKEDEPS) $(CFLAGS) -c -o $@ $<
-
-.PRECIOUS: %.elf
-%.elf: %.o libmenu/libmenu.a $(LIBS)
-	$(LD) $(LDFLAGS) -o $@ $^
-
-%.c32: %.elf
-	$(OBJCOPY) -O binary $< $@
-
 all: menus
 
 libmenu/libmenu.a: $(LIBMENU)



More information about the Syslinux-commits mailing list