diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 3 insertions, 19 deletions
@@ -15,37 +15,21 @@ endif ifeq (ia64,$(ARCH)) HAS_VBE = y endif -ifeq (ppc,$(ARCH)) -HAS_OPEN_FIRMWARE = y -endif -ifeq (ppc64,$(ARCH)) -HAS_OPEN_FIRMWARE = y -endif -TARGETS = monitor-get-edid cvt +TARGETS = monitor-get-edid-using-vbe cvt CFLAGS = -O -Wall -g -OBJS = monitor-get-edid.c +OBJS = monitor-get-edid-using-vbe.c vbe.o libint10.a libx86emu.a ifeq (i386,$(ARCH)) OBJS += lrmi.o endif -ifeq (y,$(HAS_VBE)) -OBJS += vbe.o libint10.a libx86emu.a -else -ifeq (y,$(HAS_OPEN_FIRMWARE)) -OBJS += open_firmware.o minifind.o -else -$(error "can't access EDID since neither VBE nor open firmware supported") -endif -endif - all: $(TARGETS) cvt: LDFLAGS += -lm -monitor-get-edid: $(OBJS) +monitor-get-edid-using-vbe: $(OBJS) libx86emu.a: x86emu/*.c $(MAKE) -C x86emu |