From feabeb73f4a7460bbb1051512cddecbeca8b03bd Mon Sep 17 00:00:00 2001 From: werner Date: Sat, 2 Jan 2010 23:58:03 +0000 Subject: [PATCH] The build process used dependencies only if they were explicitly generated. This often caused accidental builds without proper dependencies. - Makefile: include .depend also if it doesn't exist yet. This way, GNU make will build it and all is fine. - Makefile: use "-include" instead of "include" to avoid unnecessary nagging - Makefile: make .depend depend on *.h and *.c, so that we catch all changes that _might_ affect the dependencies (this is a little inefficient but better safe than sorry) - README: "make dep" is no longer needed - TODO: added thoughts for more improvements git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5774 99fdad57-331a-0410-800a-d7fa5415bdb3 --- Makefile | 6 ++---- README | 1 - TODO | 5 +++++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 449e173..583c1c0 100644 --- a/Makefile +++ b/Makefile @@ -136,12 +136,10 @@ montage: # ----- Dependencies ---------------------------------------------------------- -dep depend .depend: lex.yy.c y.tab.h y.tab.c +dep depend .depend: lex.yy.c y.tab.h y.tab.c *.h *.c $(DEPEND) -ifeq (.depend,$(wildcard .depend)) -include .depend -endif +-include .depend # ----- Cleanup --------------------------------------------------------------- diff --git a/README b/README index 038b54d..9be9541 100644 --- a/README +++ b/README @@ -46,7 +46,6 @@ Get updates: Compile: - make dep make Run an example: diff --git a/TODO b/TODO index 60c6efa..5670e14 100644 --- a/TODO +++ b/TODO @@ -79,3 +79,8 @@ Future directions: - add a means to cut&paste and copy&paste objects, and perhaps also variables (to move objects, we need to make sure all references are included. besides that, copy&paste should be a slight variation of delete/undelete) +- instead of blue screening, we could perhaps just skip the offending items and + replace them with a "here's a problem" marker that would still point to the + underlying object and allow repairs to be made +- instead of the awkward lock-switch-anchor process for frame references, we + could just drag the frame name into the canvas