summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-09-06 16:57:40 +0000
committertruelight <truelight@openttd.org>2004-09-06 16:57:40 +0000
commitdf1397a47e68cf07d0a0d4fe02758f4b4f8c469f (patch)
tree840d9bb315a7f88200421fce5dbcd838e7433923 /Makefile
parent9a0f9c37f9923b3b99c8e4d14a79a7b817e80cd5 (diff)
downloadopenttd-df1397a47e68cf07d0a0d4fe02758f4b4f8c469f.tar.xz
(svn r164) -Fix: Makefile did not clean up endian-files
-Add: Also display text for endian.h and endian_check
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cf2dde464..084ff4ee2 100644
--- a/Makefile
+++ b/Makefile
@@ -503,11 +503,13 @@ endif
all: endian.h $(UPDATECONFIG) $(TTD) $(OSX) $(endwarnings)
endian.h: $(ENDIAN_CHECK)
- # Check if system is LITTLE_ENDIAN or BIG_ENDIAN
- ./$(ENDIAN_CHECK) > $@
+ @# Check if system is LITTLE_ENDIAN or BIG_ENDIAN
+ @echo 'Running endian_check'; \
+ ./$(ENDIAN_CHECK) > $@
$(ENDIAN_CHECK): endian_check.c
- $(CC) $(BASECFLAGS) $(CDEFS) endian_check.c -o $@
+ @echo 'Compiling and Linking $@'; \
+ $(CC) $(BASECFLAGS) $(CDEFS) endian_check.c -o $@
$(TTD): table/strings.h $(ttd_OBJS) $(LANGS) $(MAKE_CONFIG)
@@ -570,7 +572,7 @@ FORCE:
# remove this for next release!
clean:
@echo 'Cleaning up...'; \
- rm -rf .deps *~ $(TTD) $(STRGEN) core table/strings.h $(LANGS) $(ttd_OBJS) ttd$(EXE)
+ rm -rf .deps *~ $(TTD) $(STRGEN) core table/strings.h $(LANGS) $(ttd_OBJS) endian.h $(ENDIAN_CHECK) ttd$(EXE)
mrproper: clean
rm -rf $(MAKE_CONFIG)