include $(ROOT)/Rules

.c.o:
	$(CC) $(CFLAGS) -c $<

GUIS=

ifdef GUI_OLD
GUIS += gui.a(old.o)
endif
ifdef GUI_CURSES
GUIS += gui.a(ncurses.o)
endif
ifdef GUI_GTK
GUIS += gui.a(gtk.o)
endif
ifdef GUI_QT
GUIS += gui.a(qt.o)
endif

all: gui.a
	cp -f gui.a $(ROOT)/gui.a

gui.a: $(GUIS)

