diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-08-05 13:49:37 -0700 |
---|---|---|
committer | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-08-05 13:49:37 -0700 |
commit | 724c1ef7714087cf643bb0b34f92f09eca8c8d39 (patch) | |
tree | f16e1f08cbfc4ec2652e5f2229c7edc12ed69236 | |
parent | 4d9e463c3fb68f3c1c967f73c5f39dc43ba9fed1 (diff) | |
download | syslinux-724c1ef7714087cf643bb0b34f92f09eca8c8d39.tar.gz |
gpllib: Enhance Makefile
Leverage Make built-ins rather than listing manually all objects files to
compile.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
-rw-r--r-- | com32/gpllib/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/com32/gpllib/Makefile b/com32/gpllib/Makefile index 8026a45c..fa866dba 100644 --- a/com32/gpllib/Makefile +++ b/com32/gpllib/Makefile @@ -8,12 +8,8 @@ include ../lib/MCONFIG REQFLAGS += -I../gplinclude -LIBOBJS = dmi/dmi_battery.o dmi/dmi_chassis.o dmi/dmi_memory.o \ - dmi/dmi_processor.o dmi/dmi.o dmi/dmi_bios.o dmi/dmi_base_board.o \ - dmi/dmi_ipmi.o dmi/dmi_cache.o cpuid.o disk/geom.o disk/read.o \ - disk/write.o disk/msdos.o \ - disk/util.o disk/labels.o disk/swsusp.o disk/error.o vpd/vpd.o \ - memory.o +GPLDIRS := . disk dmi vpd +LIBOBJS := $(foreach dir,$(GPLDIRS),$(patsubst %.c,%.o,$(wildcard $(dir)/*.c))) BINDIR = /usr/bin LIBDIR = /usr/lib |