From a317cbdc0987d506eeadce2b9452088c6bae5428 Mon Sep 17 00:00:00 2001 From: bjarni Date: Wed, 1 Dec 2004 19:44:39 +0000 Subject: [PATCH] (svn r877) Moved bemidi.cpp correctly this time --- Makefile | 7 ++++--- bemidi.cpp => os/beos/bemidi.cpp | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename bemidi.cpp => os/beos/bemidi.cpp (100%) diff --git a/Makefile b/Makefile index ec6c6cff1f..fc1d781de0 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 $@ diff --git a/bemidi.cpp b/os/beos/bemidi.cpp similarity index 100% rename from bemidi.cpp rename to os/beos/bemidi.cpp