2025-05-10 21:58:58 +08:00

27 lines
417 B
Makefile

Target = fltest_watchdog
CPP=aarch64-linux-gcc
LIBS =
all: $(Target)
$(Target):watchdog.c
$(CPP) watchdog.c -o $(Target) $(LIBS)
@echo "generate $(Target) success!!!"
.PHONY:clean cleanall
clean:
@rm -f $(Target)
cleanall:clean
@echo -e '\e[1;33m -rm -f $(INSTATLL_PATH)/$(Target) \e[0m'
distclean:cleanall
install:
@echo -e '\e[1;33m install -m 0755 $(Target) $(INSTATLL_PATH)/$(Target) \e[0m'