From df1397a47e68cf07d0a0d4fe02758f4b4f8c469f Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 6 Sep 2004 16:57:40 +0000 Subject: (svn r164) -Fix: Makefile did not clean up endian-files -Add: Also display text for endian.h and endian_check --- Makefile | 10 ++++++---- 1 file 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) -- cgit v1.2.3-70-g09d2