# $Id: Makefile,v 1.3 1998/11/05 02:06:59 marcus Exp $

include $(TOPLEVEL)/.config

# DEBUGFLAGS = -DDEBUG

OBJECTS = MDA.o VGA.o SVGA.o

include $(TOPLEVEL)/.make_rules

selected: $(MON_TYPE).o
	@echo 

DRIVER_MONITOR_SRC = $(wildcard *.c)  # depend needs this

$(OBJECTS): monosync.c monitors.inc $(TOPLEVEL)/.config \
            $(INCLUDEDIR)/kgi/kgi.h
	$(CC) $(CFLAGS) -D__$*__ -c monosync.c -o $@

vga.o: monosync.c monitors.inc $(INCLUDEDIR)/kgi/kgi.h
	$(CC) $(CFLAGS) -D__VGA__ -c monosync.c -o $@

include $(TOPLEVEL)/.non_recursive
