X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=0740d1b08bb360ab9090f2d92ba22d5240495b27;hb=b413d9841455a62aeadc58db95d588f6c5bb53d5;hp=fa86a9f0e16fd3188b2571c2527bbefa4f96b399;hpb=e2fc393b99f4dd547408b7d8e39996585edf81d9;p=home-hw.git diff --git a/Makefile b/Makefile index fa86a9f..0740d1b 100644 --- a/Makefile +++ b/Makefile @@ -134,7 +134,7 @@ endif # Generate dependency information -CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" +CFLAGS += -MMD -MF"$(@:%.o=%.d)" ####################################### @@ -188,11 +188,11 @@ $(BUILD_DIR): # clean up ####################################### clean: - -rm -fR .dep $(BUILD_DIR) + -rm -fR $(BUILD_DIR) ####################################### # dependencies ####################################### --include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) +-include $(wildcard $(BUILD_DIR)/*.d) # *** EOF ***