27 lines
438 B
Makefile
27 lines
438 B
Makefile
Target = fltest_watchdogrestart
|
|
|
|
CPP=aarch64-linux-gcc
|
|
|
|
LIBS =
|
|
|
|
all: $(Target)
|
|
|
|
$(Target):watchdogrestart.c
|
|
$(CPP) watchdogrestart.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'
|
|
|