# Ugly,but "working for me" makefile.

TOOLS+=con2fb
TOOLS+=sst_dbg_dump_var	
TOOLS+=sst_dbg_fill_fb
TOOLS+=sst_dbg_vgapass
TOOLS+=sst_dbg_test_disp
#TOOLS+=glide_reset
#TOOLS+=convert_timings

#glide source.
GLIDE=/home/ghoz/current/3dfx/glide

CFLAGS= -g -Wall -O2
CC= gcc

all : $(TOOLS)

clean :
	rm -f $(TOOLS)

glide_reset : glide_reset.c
	gcc glide_reset.c -o glide_reset -lglide2x -lm -I/usr/include/glide

convert_timings : convert_timings.c
	gcc convert_timings.c -o convert_timings -I$(GLIDE)/sst1/include -I$(GLIDE)/swlibs/fxpci/pcilib
