X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=Makefile;h=54e8f9a67eba36ff0984e7c802ad068a4d01d1b7;hp=e3bba3e0e7ab2cf0164bbd80e2f7ce1a19af5811;hb=555946aebd533475ea565fe96b8ce09a3ea9a37e;hpb=392ef72ca8ea92ce8aacef01fda3046f0e9f59b2;ds=sidebyside diff --git a/Makefile b/Makefile index e3bba3e..54e8f9a 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ TWIN_LDFLAGS?=$(shell pkg-config --libs libtwin) LDFLAGS = CFLAGS = -O0 -ggdb -Wall '-DPREFIX="$(PREFIX)"' -PARSERS = native yaboot -ARTWORK = background.png cdrom.png hdd.png usbpen.png cursor +PARSERS = native yaboot kboot +ARTWORK = background.jpg cdrom.png hdd.png usbpen.png tux.png cursor.gz all: petitboot udev-helper @@ -20,7 +20,13 @@ petitboot: petitboot.o devices.o petitboot: LDFLAGS+=$(TWIN_LDFLAGS) petitboot: CFLAGS+=$(TWIN_CFLAGS) -udev-helper: devices/udev-helper.o devices/params.o devices/yaboot-cfg.o \ +udev-helper: devices/udev-helper.o devices/params.o devices/parser.o \ + devices/yaboot-cfg.o \ + $(foreach p,$(PARSERS),devices/$(p)-parser.o) + $(CC) $(LDFLAGS) -o $@ $^ + +parser-test: devices/parser-test.o devices/params.o devices/parser.o \ + devices/yaboot-cfg.o \ $(foreach p,$(PARSERS),devices/$(p)-parser.o) $(CC) $(LDFLAGS) -o $@ $^