include $(TOPDIR)/rules.mk PROGRAMS = rfpc synhl all:: $(PROGRAMS) RFPC_OBJECTS = \ rfpc.o \ rfp_lex.o \ rfp_parse.o \ rfp_compile.o \ rfp_err.o \ rfp_src.o \ rfp_asail.o SYNHL_OBJECTS = \ synhl.o \ rfp_err.o \ rfp_src.o rfpc: $(RFPC_OBJECTS) $(RFP) -o $@ $^ synhl: $(SYNHL_OBJECTS) $(RFP) -o $@ $^ synhl.o: \ synhl.rf \ rfp_src.rfi \ rfp_err.rfi rfpc.o: \ rfpc.rf \ rfpc.rfi \ rfp_src.rfi \ rfp_err.rfi \ rfp_lex.rfi \ rfp_parse.rfi \ rfp_compile.rfi rfp_lex.o: \ rfp_lex.rf \ rfp_lex.rfi \ rfp_src.rfi \ rfp_err.rfi rfp_parse.o: \ rfp_parse.rf \ rfp_parse.rfi \ rfp_src.rfi \ rfp_err.rfi rfp_compile.o: \ rfp_compile.rf \ rfp_compile.rfi rfp_err.o: \ rfp_err.rf \ rfp_src.rfi rfp_src.o: \ rfp_src.rfi \ rfpc.rfi clean:: rm -f $(PROGRAMS) *.o