
AFS_CFLAGS=$(SHD_CFLAGS)
AFS_LDFLAGS=$(SHD_LDFLAGS)
AFS_CCRULE=$(SHD_CCRULE)
AFS_CCRULE_NOQ=$(SHD_CCRULE_NOQ)

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

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

