summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-11-29 20:03:04 +0000
committerbjarni <bjarni@openttd.org>2004-11-29 20:03:04 +0000
commita580b4c21ee20179fa50bdab04aaeb586185fe8e (patch)
treef1194fabcf41633e7ddce6507bf3d49f83405daf /Makefile
parentccd731a2ce661bf0f8157f6abb2e81db7bdd933e (diff)
downloadopenttd-a580b4c21ee20179fa50bdab04aaeb586185fe8e.tar.xz
(svn r855) BeOS: moved bemidi to os/beos/ (w-ber)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ec6c6cff1..fc1d781de 100644
--- a/Makefile
+++ b/Makefile
@@ -543,7 +543,8 @@ endif
ttd_OBJS = $(C_SOURCES:%.c=%.o) $(CXX_SOURCES:%.cpp=%.o)
ifdef BEOS
-CXX_SOURCES += bemidi.cpp
+CXX_SOURCES += os/beos/bemidi.cpp
+CFLAGS += -I.
endif
ifdef WIN32
@@ -745,6 +746,6 @@ DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
>> .deps/$(*F).P; \
rm .deps/$(*F).pp
-# For DirectMusic build
+# For DirectMusic build and BeOS specific parts
%.o: %.cpp $(MAKE_CONFIG)
- $(CXX_BUILD) $<
+ $(CXX_BUILD) $< -o $@