You can create and add files to the database all in one command. For example:
undc -db myproject.udc -create -add *.c *.h