aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 2a363d4..c01369c 100644
--- a/Makefile
+++ b/Makefile
@@ -27,22 +27,14 @@ endif
CPPFLAGS = -I.
CFLAGS = -O -Wall -g
-OBJS = monitor-get-edid-using-vbe.c vbe.o libint10.a libx86emu.a
+OBJS = monitor-get-edid-using-vbe.c vbe.o
-ifeq (i386,$(ARCH))
-monitor-get-edid-using-vbe: LDFLAGS += -llrmi
-endif
+monitor-get-edid-using-vbe: LDFLAGS += -lx86
all: $(TARGETS)
monitor-get-edid-using-vbe: $(OBJS)
-libx86emu.a: x86emu/*.c
- $(MAKE) -C x86emu
-
-libint10.a: int10/*.c
- $(MAKE) -C int10
-
install:
install -d $(DESTDIR)$(bindir)
install -d $(DESTDIR)$(sbindir)
@@ -54,8 +46,6 @@ endif
ln -s monitor-edid $(DESTDIR)$(sbindir)/monitor-get-edid
clean:
- $(MAKE) -C int10 clean
- $(MAKE) -C x86emu clean
$(RM) $(TARGETS) *.a *.o *~
rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2