X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2FMakefile;h=6e9bd2bc91b2c1e4197e02266a63895505703a08;hp=9dcc3d95fedf237109fa91fa8000bb4e48b63fe7;hb=f78f30b84a0345ea31b30c5bd95e338c9d9ebd4b;hpb=cb5d2ce15259a2aea0626cfc81733563074ea591 diff --git a/src/Makefile b/src/Makefile index 9dcc3d95..6e9bd2bc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -215,9 +215,9 @@ all: $(AUTOCONF) libgame_dir game_em_dir game_sp_dir $(PROGNAME) graphics_dir $(PROGNAME): $(RNDLIBS) $(TIMESTAMP_FILE) $(OBJS) $(ICON) $(CC) $(PROFILING) $(OBJS) $(ICON) $(RNDLIBS) $(LDFLAGS) -o $(PROGNAME) - -strip: $(PROGNAME) +ifdef BUILD_DIST strip $(PROGNAME) +endif libgame_dir: @$(MAKE) -C $(LIBGAME_DIR) @@ -278,9 +278,6 @@ clean-obj: $(MAKE) -C $(GAME_SP_DIR) clean $(RM) $(OBJS) $(RM) $(RNDLIBS) -# $(RM) $(LIBGAME) -# $(RM) $(GAME_EM) -# $(RM) $(GAME_SP) clean-ico: $(RM) $(ICONBASE).ico @@ -295,6 +292,8 @@ clean: clean-obj clean-ico clean-bin clean-git: clean auto-conf-clean @$(MAKE) -C $(GRAPHICS_DIR) clean +dist-clean: clean-obj clean-ico + # ----------------------------------------------------------------------------- # run and test targets @@ -314,8 +313,6 @@ valgrind: # development only # ----------------------------------------------------------------------------- -dist-clean: clean-obj - tags: $(ETAGS) *.[ch] $(LIBGAME_DIR)/*.[ch] $(GAME_EM_DIR)/*.[ch] $(GAME_SP_DIR)/*.[ch]