diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -20,7 +20,10 @@ DESTDIR= bindir=/usr/bin sbindir=/usr/sbin -TARGETS = monitor-get-edid-using-vbe cvt +TARGETS = cvt +ifdef HAS_VBE +TARGETS += monitor-get-edid-using-vbe +endif CPPFLAGS = -I. CFLAGS = -O -Wall -g @@ -45,7 +48,10 @@ libint10.a: int10/*.c install: install -d $(DESTDIR)$(bindir) install -d $(DESTDIR)$(sbindir) - install monitor-edid monitor-get-edid-using-vbe monitor-probe monitor-probe-using-X $(DESTDIR)$(sbindir) + install monitor-edid monitor-probe monitor-probe-using-X $(DESTDIR)$(sbindir) +ifdef HAS_VBE + install monitor-get-edid-using-vbe $(DESTDIR)$(sbindir) +endif install monitor-parse-edid $(DESTDIR)$(bindir) install cvt $(DESTDIR)$(bindir)/vesa-cvt ln -s monitor-edid $(DESTDIR)$(sbindir)/monitor-get-edid |