Adding rules for mingw32 compiler.
This commit is contained in:
parent
ab8552321c
commit
9140ae06a6
|
@ -29,9 +29,9 @@ ifdef BUILD_PROJECT
|
||||||
# this is compiler-specific
|
# this is compiler-specific
|
||||||
#
|
#
|
||||||
$(PROJECT_LIBRARY): $(OBJECTS_LIST)
|
$(PROJECT_LIBRARY): $(OBJECTS_LIST)
|
||||||
ifdef CLEAN_LIBRARY
|
ifdef CLEAN_LIBRARY
|
||||||
-$(CLEAN_LIBRARY) $(NO_OUTPUT)
|
-$(CLEAN_LIBRARY) $(NO_OUTPUT)
|
||||||
endif
|
endif
|
||||||
$(LINK_LIBRARY)
|
$(LINK_LIBRARY)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -29,10 +29,10 @@ ifdef BUILD_PROJECT
|
||||||
# this is compiler-specific
|
# this is compiler-specific
|
||||||
#
|
#
|
||||||
$(PROJECT_LIBRARY): $(OBJECTS_LIST)
|
$(PROJECT_LIBRARY): $(OBJECTS_LIST)
|
||||||
ifdef CLEAN_LIBRARY
|
ifdef CLEAN_LIBRARY
|
||||||
-$(CLEAN_LIBRARY) $(NO_OUTPUT)
|
-$(CLEAN_LIBRARY) $(NO_OUTPUT)
|
||||||
endif
|
endif
|
||||||
$(LINK_LIBRARY)
|
$(LINK_LIBRARY)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ SA := a
|
||||||
# The name of the final library file. Note that the DOS-specific Makefile
|
# The name of the final library file. Note that the DOS-specific Makefile
|
||||||
# uses a shorter (8.3) name.
|
# uses a shorter (8.3) name.
|
||||||
#
|
#
|
||||||
LIBRARY := libfreetype
|
LIBRARY := lib$(PROJECT)
|
||||||
|
|
||||||
|
|
||||||
# Path inclusion flag. Some compilers use a different flag than `-I' to
|
# Path inclusion flag. Some compilers use a different flag than `-I' to
|
||||||
|
|
|
@ -64,7 +64,7 @@ SA := a
|
||||||
# The name of the final library file. Note that the DOS-specific Makefile
|
# The name of the final library file. Note that the DOS-specific Makefile
|
||||||
# uses a shorter (8.3) name.
|
# uses a shorter (8.3) name.
|
||||||
#
|
#
|
||||||
LIBRARY := libfreetype
|
LIBRARY := lib$(PROJECT)
|
||||||
|
|
||||||
|
|
||||||
# Path inclusion flag. Some compilers use a different flag than `-I' to
|
# Path inclusion flag. Some compilers use a different flag than `-I' to
|
||||||
|
|
|
@ -82,6 +82,13 @@ ifeq ($(PLATFORM),ansi)
|
||||||
lcc: setup
|
lcc: setup
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(findstring mingw32,$(MAKECMDGOALS)),) # mingw32
|
||||||
|
CONFIG_FILE := w32-mingw32.mk
|
||||||
|
SEP := $(BACKSLASH)
|
||||||
|
CC := gcc
|
||||||
|
mingw32: setup
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring devel,$(MAKECMDGOALS)),) # development target
|
ifneq ($(findstring devel,$(MAKECMDGOALS)),) # development target
|
||||||
CONFIG_FILE := w32-dev.mk
|
CONFIG_FILE := w32-dev.mk
|
||||||
CC := gcc
|
CC := gcc
|
||||||
|
|
Loading…
Reference in New Issue