src/Makefile
branchENGINE-228
changeset 1966 0329556f28ab
parent 1962 b88394894238
child 1968 e30b1515b7b9
     1.1 --- a/src/Makefile	Wed Aug 16 15:08:05 2017 +0000
     1.2 +++ b/src/Makefile	Wed Aug 16 15:27:54 2017 +0000
     1.3 @@ -58,7 +58,12 @@
     1.4  	sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
     1.5  	rm -f $@.$$$$
     1.6  
     1.7 --include $(DEPENDS)
     1.8 +# If only the goal 'clean' is given, do not include the generated 'X.d' files.
     1.9 +ifneq ($(MAKECMDGOALS),clean)
    1.10 +    -include $(DEPENDS)
    1.11 +endif
    1.12 +
    1.13 +
    1.14  
    1.15  $(TARGET): libpEpEngine.a
    1.16  	$(CC) $(ALL_OBJECTS) $(LDFLAGS) $(LDLIBS) -o $@