CC = gcc
CFLAGS += -I$(TOP)/include -I. -Imain -Iglapi
ifeq ($(FX),1)
-CFLAGS += -D__DOS__ -DH3
+CFLAGS += -D__DOS__
CFLAGS += -I$(GLIDE)/include -DFX
LIBNAME = "Mesa/FX DJGPP"
else
drivers/dos/vesa.c \
drivers/dos/blit.S \
drivers/dos/vga.c \
+ drivers/dos/null.c \
drivers/dos/dpmi.c
endif
+#DRIVER_SOURCES += $(OSMESA_DRIVER_SOURCES)
+
SOURCES = $(CORE_SOURCES) $(X86_SOURCES) $(COMMON_DRIVER_SOURCES) $(DRIVER_SOURCES)
OBJECTS = $(addsuffix .o,$(basename $(SOURCES)))