#
#
sim_r3.prg:	sim_r3.o sim_mem.o sim_time.o instr.o instr2.o 
  $(CC) $(CFLAGS) -o sim_r3.prg sim_r3.o sim_mem.o sim_time.o instr.o instr2.o
#
sim_r3.o: sim.h
sim_mem.o: sim.h
sim_time.o: sim.h
instr.o: sim.h
inst2.o: sim.h
#
# Note: this make assumes that it knows how to make .o files from .c
# files, that's why there's no separate lines for the .o depends on .c.
# The dependencies on header files follow the main command.
