##############################################################################
|
##############################################################################
|
# Microwindows template Makefile
|
# Microwindows template Makefile
|
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
|
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
|
##############################################################################
|
##############################################################################
|
|
|
ifndef TOP
|
ifndef TOP
|
TOP = ..
|
TOP = ..
|
CONFIG = $(TOP)/config
|
CONFIG = $(TOP)/config
|
endif
|
endif
|
|
|
include $(CONFIG)
|
include $(CONFIG)
|
|
|
######################## Additional Flags section ############################
|
######################## Additional Flags section ############################
|
|
|
# Directories list for header files
|
# Directories list for header files
|
INCLUDEDIRS +=
|
INCLUDEDIRS +=
|
|
|
# Defines for preprocessor
|
# Defines for preprocessor
|
ifeq ($(ERASEMOVE), Y)
|
ifeq ($(ERASEMOVE), Y)
|
DEFINES += -DERASEMOVE=1
|
DEFINES += -DERASEMOVE=1
|
endif
|
endif
|
|
|
ifeq ($(UPDATEREGIONS), Y)
|
ifeq ($(UPDATEREGIONS), Y)
|
DEFINES += -DUPDATEREGIONS=1
|
DEFINES += -DUPDATEREGIONS=1
|
endif
|
endif
|
|
|
# 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 ################################
|
|
|
ifeq ($(MICROWIN), Y)
|
ifeq ($(MICROWIN), Y)
|
|
|
# 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 = libmwin.a
|
LIBNAME = libmwin.a
|
LIBNAMESO = libmwin.so
|
LIBNAMESO = libmwin.so
|
|
|
# List of objects to compile
|
# List of objects to compile
|
OBJS = winmain.o winuser.o wingdi.o winexpos.o winclip.o winevent.o\
|
OBJS = winmain.o winuser.o wingdi.o winexpos.o winclip.o winevent.o\
|
windefw.o winrgn.o winfont.o winsbar.o
|
windefw.o winrgn.o winfont.o winsbar.o
|
|
|
endif
|
endif
|
|
|
######################### Makefile.rules section #############################
|
######################### Makefile.rules section #############################
|
|
|
include $(TOP)/Makefile.rules
|
include $(TOP)/Makefile.rules
|
|
|
######################## Tools targets section ###############################
|
######################## Tools targets section ###############################
|
|
|
|
|