Bruce Korb <[EMAIL PROTECTED]> writes: > Ed Hartnett wrote: >> Howdy all! >> I am using automake to build my library, and I have a slew of test >> programs: >> # These programs are all built for make check in this directory. >> check_PROGRAMS = tst_h_files tst_h_atts tst_h_vars tst_h_grps >> \ >> tst_h_compounds tst_h_wrt_cmp tst_h_rd_cmp tst_h_vl tst_h_opaques \ >> tst_h_strings tst_h_dimscales tst_h_dimscales2 tst_h_enums tst_lists \ >> tst_dims tst_v2 tst_files tst_vars tst_varms tst_unlim_vars tst_atts \ >> tst_converts tst_converts2 tst_grps tst_compounds tst_vl tst_opaques \ >> tst_strings tst_interops > > $(check_PROGRAMS) : ../nc_tests.h
Duh! Why didn't I think of that? I also find that if I list it as a noinst_HEADERS it will track dependencies correctly, even tracking which code file depends on which header file, and only recompiling as necessary. Very clever, Automake programmers! Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]