Makefile
changeset 525 21347b4784d8
parent 476 68e6469a3c91
child 531 4054e42edcce
--- a/Makefile	Mon Nov 29 19:26:24 2004 +0000
+++ b/Makefile	Mon Nov 29 20:03:04 2004 +0000
@@ -543,7 +543,8 @@
 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/$(*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 $@