summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-09-02 19:10:45 +0000
committertruelight <truelight@openttd.org>2005-09-02 19:10:45 +0000
commit620f36acb62d735667dc5f2fef7e7a0ceb585adc (patch)
treed01e499f40fb0d5d315c7530b74c76569fae0840 /Makefile
parenta948fcb6055b5aaf3086913a96e623296d62ef37 (diff)
downloadopenttd-620f36acb62d735667dc5f2fef7e7a0ceb585adc.tar.xz
(svn r2907) -Codechange: splitted the AIs to their own directory. AINew becomes 'trolly', AIOld becomes 'default', both in their own dir in the 'ai' dir. More AIs to come.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1111964ea..bb1bb0a60 100644
--- a/Makefile
+++ b/Makefile
@@ -573,11 +573,6 @@ endif
### Sources
-C_SOURCES += ai_old.c
-C_SOURCES += ai_build.c
-C_SOURCES += ai_new.c
-C_SOURCES += ai_pathfinder.c
-C_SOURCES += ai_shared.c
C_SOURCES += aircraft_cmd.c
C_SOURCES += aircraft_gui.c
C_SOURCES += airport.c
@@ -686,6 +681,12 @@ C_SOURCES += sound/null_s.c
C_SOURCES += video/dedicated_v.c
C_SOURCES += video/null_v.c
+C_SOURCES += ai/default/default.c
+C_SOURCES += ai/trolly/trolly.c
+C_SOURCES += ai/trolly/build.c
+C_SOURCES += ai/trolly/pathfinder.c
+C_SOURCES += ai/trolly/shared.c
+
CXX_SOURCES =
OBJC_SOURCES =
@@ -988,7 +989,7 @@ upgradeconf: $(MAKE_CONFIG)
### Internal build rules
# This makes sure the .deps dir is always around.
-DEPS_MAGIC := $(shell mkdir -p .deps .deps/music .deps/sound .deps/video .deps/os .deps/os/macosx)
+DEPS_MAGIC := $(shell mkdir -p .deps .deps/music .deps/sound .deps/video .deps/os .deps/os/macosx .deps/ai/default .deps/ai/trolly)
# Introduce the dependencies
ifneq ($(MAKECMDGOALS), clean)