
FLAGS = -I./include
TARGET = fbtest

SRCS = ./colormap.c  ./console.c  ./tests/test006.c  ./tests/test009.c  ./tests/test002.c \
	   	./tests/test010.c  ./tests/test004.c  ./tests/test008.c  ./tests/test003.c  \
		./tests/test005.c  ./tests/test007.c  ./tests/test001.c  ./tests.c  ./pixmap.c \
	   	./color.c  ./fb.c  ./util.c  ./visual.c  ./visops/directcolor.c  ./visops/truecolor.c \
	  	./visops/pseudocolor.c  ./visops/init.c  ./visops/grayscale.c  ./visops/ham.c \
	   	./visops/mono.c  ./images/penguin.c  ./fonts/sun12x22.c  ./fonts/pearl8x8.c \
	   	./fonts/vga8x16.c  ./main.c  ./clut.c  ./drawops/cfb2.c  ./drawops/generic.c \
	   	./drawops/planar.c  ./drawops/cfb4.c  ./drawops/iplan2.c  ./drawops/bitstream.c \
	   	./drawops/init.c  ./drawops/cfb8.c  ./drawops/cfb32.c  ./drawops/cfb16.c \
	   	./drawops/cfb.c 	./drawops/cfb24.c

OBJS += $(subst .c,.o,$(SRCS))

$(TARGET): $(SRCS)
	$(CC) $(FLAGS) -o $(TARGET) $(SRCS)

clean:
	rm -f $(OBJS)
	rm -f $(TARGET)


all:$(TARGET)

.PHONY:	all clean
