##############################################################################
|
##############################################################################
|
# Microwindows template Makefile
|
# Microwindows template Makefile
|
# Copyright (c) 2000, 2002 Martin Jolicoeur, Greg Haerr
|
# Copyright (c) 2000, 2002 Martin Jolicoeur, Greg Haerr
|
##############################################################################
|
##############################################################################
|
|
|
include $(CONFIG)
|
include $(CONFIG)
|
|
|
VPATH := $(TOP)/engine
|
VPATH := $(TOP)/engine
|
|
|
######################## Additional Flags section ############################
|
######################## Additional Flags section ############################
|
|
|
# Directories list for header files
|
# Directories list for header files
|
INCLUDEDIRS +=
|
INCLUDEDIRS +=
|
# Defines for preprocessor
|
# Defines for preprocessor
|
DEFINES +=
|
DEFINES +=
|
|
|
# Compilation flags for C files OTHER than include directories
|
# Compilation flags for C files OTHER than include directories
|
CFLAGS +=
|
CFLAGS +=
|
# Preprocessor flags OTHER than defines
|
# Preprocessor flags OTHER than defines
|
CPPFLAGS +=
|
CPPFLAGS +=
|
# Linking flags
|
# Linking flags
|
LDFLAGS +=
|
LDFLAGS +=
|
|
|
############################# targets section ################################
|
############################# targets section ################################
|
|
|
# If you want to create a library with the objects files, define the name here
|
# If you want to create a library with the objects files, define the name here
|
LIBNAME = libmwengine.a
|
LIBNAME = libmwengine.a
|
LIBNAMESO = libmwengine.so
|
LIBNAMESO = libmwengine.so
|
|
|
# List of objects to compile
|
# List of objects to compile
|
OBJS = devopen.o devdraw.o devfont.o devmouse.o devkbd.o devclip.o devrgn.o \
|
OBJS = devopen.o devdraw.o devfont.o devmouse.o devkbd.o devclip.o devrgn.o \
|
devpal1.o devpal2.o devimage.o devlist.o selfont.o error.o \
|
devpal1.o devpal2.o devimage.o devlist.o selfont.o error.o \
|
devrgn2.o devarc.o devpoly.o
|
devrgn2.o devarc.o devpoly.o
|
|
|
#ifeq ($(UNIX), 1)
|
#ifeq ($(UNIX), 1)
|
OBJS += devtimer.o
|
OBJS += devtimer.o
|
#endif
|
#endif
|
|
|
ifneq ($(ARCH), ELKS)
|
ifneq ($(ARCH), ELKS)
|
OBJS += devpal8.o
|
OBJS += devpal8.o
|
endif
|
endif
|
|
|
ifeq ($(GRAYPALETTE), Y)
|
ifeq ($(GRAYPALETTE), Y)
|
OBJS += devpalgray4.o
|
OBJS += devpalgray4.o
|
else
|
else
|
OBJS += devpal4.o
|
OBJS += devpal4.o
|
endif
|
endif
|
|
|
######################### Makefile.rules section #############################
|
######################### Makefile.rules section #############################
|
|
|
include $(TOP)/Makefile.rules
|
include $(TOP)/Makefile.rules
|
|
|
######################## Tools targets section ###############################
|
######################## Tools targets section ###############################
|
|
|