Makefile
changeset 32 bc861ea6d23b
parent 0 29654efe3188
child 35 54cf3d67fc45
equal deleted inserted replaced
31:85a8c911441c 32:bc861ea6d23b
   168 else
   168 else
   169 EXE=
   169 EXE=
   170 endif
   170 endif
   171 
   171 
   172 # Set output executable names
   172 # Set output executable names
   173 TTD=ttd$(EXE)
   173 TTD=openttd$(EXE)
   174 STRGEN=strgen/strgen$(EXE)
   174 STRGEN=strgen/strgen$(EXE)
   175 OSXAPP="OpenTTD.app"
   175 OSXAPP="OpenTTD.app"
   176 
   176 
   177 # What revision are we compiling, if we have an idea?
   177 # What revision are we compiling, if we have an idea?
   178 REV_NUMBER := $(shell if test -d .svn; then svnversion . | tr -dc 0-9; fi)
   178 REV_NUMBER := $(shell if test -d .svn; then svnversion . | tr -dc 0-9; fi)
   540 	@rm -f rev.c.new
   540 	@rm -f rev.c.new
   541 
   541 
   542 FORCE:
   542 FORCE:
   543 
   543 
   544 
   544 
       
   545 # ttd$(EXE) is removed just to make sure people execute the right binary (openttd$(EXE))
       
   546 # remove this for next release!
   545 clean:
   547 clean:
   546 	rm -rf .deps *~ $(TTD) $(STRGEN) core table/strings.h $(LANGS) $(ttd_OBJS)
   548 	rm -rf .deps *~ $(TTD) $(STRGEN) core table/strings.h $(LANGS) $(ttd_OBJS) ttd$(EXE)
   547 
   549 
   548 mrproper: clean
   550 mrproper: clean
   549 	rm -rf $(MAKE_CONFIG)
   551 	rm -rf $(MAKE_CONFIG)
   550 
   552 
   551 ifndef OSX
   553 ifndef OSX