Browse Source

"make bin/xxx DEBUG=yyy,zzz" now works seemingly perfectly. :)

tags/v0.9.3
Michael Brown 20 years ago
parent
commit
5abc43a320
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      src/Makefile.housekeeping

+ 5
- 4
src/Makefile.housekeeping View File

258
 # changes.
258
 # changes.
259
 #
259
 #
260
 BLIB_LIST	= $(BIN)/.blib.list
260
 BLIB_LIST	= $(BIN)/.blib.list
261
-.PHONY : always_check_blib_list
262
-$(BLIB_LIST) : always_check_blib_list
263
-	@[ "$(shell cat $@)" = "$(BLIB_OBJS)" ] || echo "$(BLIB_OBJS)" > $@
264
-.SECONDARY : $(BLIB_LIST)
261
+ifneq ($(shell cat $(BLIB_LIST)),$(BLIB_OBJS))
262
+$(shell echo "$(BLIB_OBJS)" > $(BLIB_LIST))
263
+endif
264
+
265
+$(BLIB_LIST) :
265
 
266
 
266
 # Library of all objects
267
 # Library of all objects
267
 #
268
 #

Loading…
Cancel
Save