AFS_CFLAGS=$(PTH_CFLAGS)
AFS_LDFLAGS=$(PTH_LDFLAGS)
AFS_CCRULE=$(PTH_CCRULE)
AFS_CCRULE_NOQ=$(PTH_CCRULE_NOQ)

AFS_LDRULE=$(RUN_LD) $(MT_CC) $(AFS_LDFLAGS) $(AFS_CFLAGS) $(LDFLAGS_$(@)) -o $@
AFS_LDRULE_NOQ=$(RUN_LD_NOQ) $(MT_CC) $(AFS_LDFLAGS) $(AFS_CFLAGS) $(LDFLAGS_$(@)) -o $@

.c.o:
	$(AFS_CCRULE) $<
%.o: %.c
	$(AFS_CCRULE) $<
.m.o:
	$(AFS_CCRULE) $<
