Added recipe for Free Heroes II engine

This commit is contained in:
Artur Jamro
2014-01-04 18:59:59 +00:00
parent 4b78b1929a
commit a3075c664d
2 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
diff --git a/src/Makefile b/src/Makefile
index 430c5ab..979b3ba 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -8,7 +8,7 @@ SDL_FLAGS := $(shell sdl-config --cflags)
CFLAGS := $(CFLAGS) -Wall -fsigned-char
LDFLAGS := $(LDFLAGS)
-LIBS :=
+LIBS := -lintl -liconv
ifdef DEBUG
CFLAGS := $(CFLAGS) -O0 -g -pedantic -DWITH_DEBUG
@@ -70,6 +70,9 @@ endif
ifeq ($(OS),Linux)
PLATFORM := all
endif
+ifeq ($(OS),Haiku)
+PLATFORM := all
+endif
endif
include Makefile.$(PLATFORM)