CROSS_COMPILE ?= AS = $(CROSS_COMPILE)as AR = $(CROSS_COMPILE)ar CC = $(CROSS_COMPILE)gcc CPP = $(CROSS_COMPILE)g++ LD = $(CROSS_COMPILE)ld NM = $(CROSS_COMPILE)nm OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump RANLIB = $(CROSS_COMPILE)ranlib READELF = $(CROSS_COMPILE)readelf SIZE = $(CROSS_COMPILE)size STRINGS = $(CROSS_COMPILE)strings STRIP = $(CROSS_COMPILE)strip CFLAGS = -Wall #MODULES = hddMgr sasPhyChk phy2drv nvmeSsdMgr MODULES = nvmeSsdMgr .PHONY: $(MODULES) all: $(MODULES) phy2drv: @$(CC) $(CFLAGS) -o $@ phy2drv.c hddLib.c hddMgr: @$(CC) $(CFLAGS) -o $@ hddMgr.c hddLib.c sasPhyChk: @$(CC) $(CFLAGS) -o $@ sasPhyChk.c hddLib.c nvmeSsdMgr: @$(CC) $(CFLAGS) -o $@ nvmeSsdMgr.c clean: $(RM) -f $(MODULES)