Is it possible to run two commands and have them execute in order for a given rule. Here is what I want to do in a makefile:

default: child.o

child-copy.d:
        touch child-copy.d

include child-copy.d

child.o: $(CXXPATH)/child.cc
        g++ -c $< -o $@ -MD
        cp child.d child-copy.d

Thanks,
James
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to