CC=gcc

# See the color defines in g3vga.h
PAGE_COLOR=BLUE
TEXT_COLOR=YELLOW
BORDER_COLOR=RED

# For another font look in your /usr/lib/kbd/consolefonts directory
# for others names. Leave this blank for the default font.
FONT=

CFLAGS=	-DPAGE_COLOR=$(PAGE_COLOR) \
	-DTEXT_COLOR=$(TEXT_COLOR) \
	-DBORDER_COLOR=$(BORDER_COLOR) \
	-DFONT=\"$(FONT)\" \
	-O2 -Ifont -DMMAP #-m486
LDFLAGS=-g -L/usr/src/svgalib/src
LDFLAGS=-Wl,-qmagic -s
LDLIBS=-lvga

all: g3vga

g3vga: g3vga.o g3decode.o font/fontutils.o

g3vga.o: g3vga.c g3vga.h Makefile

g3decode.o: g3decode.c g3vga.h Makefile

clean:
	rm -f *.o



