We currently open code the Makefile rules for outputting .c32 files,
so provide a pattern rule to make things easier.
There are no users of this rule yet, but we'll make use of it when we
switch all modules over to ELF.
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
## -----------------------------------------------------------------------
##
-## COM32 common configurables
+## ELF common configurables
##
include $(MAKEDIR)/syslinux.mk
%.lnx: %.lo $(LNXLIBS)
$(CC) $(LNXLDFLAGS) -o $@ $^
+%.c32: %.o
+ $(LD) $(LDFLAGS) -o $@ $^