# this is a Makefile for the greg, general register component # give final target all : greg.out # first compile greg.e to build greg.net greg.net : greg.e ecomp greg.e -o greg.net # now simulate using greg.run, the greg component in the test circuit greg.out : greg.run greg.net esim < greg.run > greg.out # results of the simulator are now in the file greg.out