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
master
Mike Frysinger 14 years ago
parent ea47466b4f
commit d0fcb3eac2

@ -1,3 +1,8 @@
2011-06-23 Mike Frysinger <vapier@gentoo.org>
* 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 <vapier@gentoo.org>
* src/cmd/Makefile.am: Autogenerate command list based on the source

@ -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}' $^`; \

Loading…
Cancel
Save