1# Regression test for issue with multiple files generated at once
2
3Import('env')
4env = env.Clone()
5env.Replace(NANOPBFLAGS = "--strip-path")
6env.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'],
7            env['NANOPB_PROTO_CMD'])
8
9env.Object('file1.pb.c')
10env.Object('file2.pb.c')
11