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
commitd05f504c01fb88eb8b88d28b5fd5da664e31cd95 (patch)
treed01e499f40fb0d5d315c7530b74c76569fae0840 /Makefile
parenta181446829c3de933ccccffcc652c0c7b19f9968 (diff)
downloadopenttd-d05f504c01fb88eb8b88d28b5fd5da664e31cd95.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)