CFLAGS = +L +Icomp:include/symbols.m SR1 = dmouse.c SR2 = dmouse-handler.c OB1 = ram:dmouse.o OB2 = ram:dmouse-handler.o EX1 = ram:dmouse EX2 = ram:dmouse-handler all: $(EX1) $(EX2) $(EX1) : $(OB1) ln +Q $(OB1) -lc32 -o $(EX1) $(EX2) : $(OB2) ln +Q $(OB2) -lc32 -o $(EX2) $(OB1) : $(SR1) cc $(CFLAGS) $(SR1) -o $(OB1) $(OB2) : $(SR2) cc $(CFLAGS) $(SR2) -o $(OB2)