From d0fcb3eac29c3e80171b1a0f8e2822725d975fd6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Jun 2011 16:23:30 +0000 Subject: [PATCH] have all objects depend on the header so it is generated before anything else git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1912 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 5 +++++ urjtag/src/cmd/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 84ead711..68347582 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2011-06-23 Mike Frysinger + + * src/cmd/Makefile.am: Tweak dependencies so things work from a fresh + checkout/build and not just after multiple builds. + 2011-06-22 Mike Frysinger * src/cmd/Makefile.am: Autogenerate command list based on the source diff --git a/urjtag/src/cmd/Makefile.am b/urjtag/src/cmd/Makefile.am index 45b23165..b1a8cb5c 100644 --- a/urjtag/src/cmd/Makefile.am +++ b/urjtag/src/cmd/Makefile.am @@ -79,7 +79,7 @@ libcmd_la_SOURCES = \ cmd_list.h \ $(all_cmd_files) -cmd_list.h: generated_cmd_list.h +$(libcmd_la_OBJECTS): generated_cmd_list.h generated_cmd_list.h: $(all_cmd_files) $(AM_V_GEN)set -e; \ cmds=`$(SED) -n '/^const urj_cmd_t urj_cmd_/{s:.*urj_cmd_::;s: =.*::;p}' $^`; \