X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=1074eb971dd7f57eaaa6a5665f58843264800a05;hb=d986174e8b13292d8a6d748dfe7f577e05780a8a;hp=e5f3178b7a988bedcace63aeba678f6af4c1c24c;hpb=47323abef3896f85d87aadf3d6ef849176cd44d8;p=home-hw.git diff --git a/Makefile b/Makefile index e5f3178..1074eb9 100644 --- a/Makefile +++ b/Makefile @@ -156,7 +156,7 @@ endif # Generate dependency information -CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" +CFLAGS += -MMD -MF"$(@:%.o=%.d)" ####################################### @@ -209,11 +209,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 ***