forked from ihhub/fheroes2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (27 loc) · 968 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# makefile
# project: Free Heroes of Might and Magic II (https://github.com/ihhub/fheroes2)
#
# Options:
# DEBUG: build in debug mode
# RELEASE: build with addons extensions
#
# WITHOUT_ZLIB: build without zlib (disable compressed save files)
# WITHOUT_MIXER: build without SDL_mixer library
# WITHOUT_AUDIOCD: disable audio CD support
# WITHOUT_UNICODE: build without unicode (disable translation and ttf font)
# WITHOUT_IMAGE: build without SDL_image library (disable cache image, icn2png)
# WITHOUT_XML: skip build tinyxml, used for load alt. resources
# WITH_TOOLS: build tools
# WITHOUT_BUNDLED_LIBS: do not build XML third party library
# FHEROES2_STRICT_COMPILATION: build with strict compilation option (makes warnings into errors)
#
# -DCONFIGURE_FHEROES2_LOCALEDIR: system locale dir
# -DCONFIGURE_FHEROES2_DATA: system fheroes2 game dir
#
TARGET := fheroes2
all:
$(MAKE) -C src
@cp src/dist/$(TARGET) .
clean:
$(MAKE) -C src clean
@rm -f ./$(TARGET)