From: Ian Jackson Date: Sun, 30 Jan 2011 19:21:36 +0000 (+0000) Subject: Makefiles: move "default:" target to top of various Makefiles, since cprogs.make... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=b51623dc43c6149898841d8ab3eaf9cdeabd1c6c;p=trains.git Makefiles: move "default:" target to top of various Makefiles, since cprogs.make now has a TAGS target in it which otherwise becomes the default --- diff --git a/hostside/Makefile b/hostside/Makefile index 5f3fa01..9bf7609 100644 --- a/hostside/Makefile +++ b/hostside/Makefile @@ -20,10 +20,11 @@ LAYOUT_DATA= ../layout/ours.layout-data ETAGS_SRCS += $(LAYOUT_DATA).c ../layout/layout-data.h +default: all + include ../common.make include ../cprogs.make -default: all recurse: all for-pic: all: $(TARGETS) TAGS diff --git a/layout/Makefile b/layout/Makefile index 8967fab..4d68ee7 100644 --- a/layout/Makefile +++ b/layout/Makefile @@ -1,3 +1,6 @@ +CPROGS= subseg2display compose-segenco +default: $(CPROGS) for-pic for-test-ui layers extras + include ../cprogs.make include ../common.make @@ -44,9 +47,6 @@ LAYERS= $(LAYERS_L) $(LAYERS_E) $(LAYERS_EB) $(LAYERS_S) $(LAYERS_M) \ LPAGES= $(foreach x, 0 1 2 3 4 5 6, $(foreach y, 1 2 3 4 5, ours-p4-$xx$y.ps)) BPAGES= $(foreach x, 0 1, $(foreach y, 0 1, ours-b4-$xx$y.ps)) -CPROGS= subseg2display compose-segenco - -default: $(CPROGS) for-pic for-test-ui layers extras all: default lpages bpages tpages for-pic: ours+pindata.asm recurse: $(CPROGS) for-pic for-test-ui diff --git a/parport/Makefile b/parport/Makefile index 8935c24..6bfc845 100644 --- a/parport/Makefile +++ b/parport/Makefile @@ -1,3 +1,5 @@ +default: all + include ../cprogs.make CPROGS_I= parport-ctl train-pic-prog-select readlots serial-tcflow