xref: /OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_watchdogrestart/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Target = fltest_watchdogrestart
2
3CPP=aarch64-linux-gcc
4
5LIBS =
6
7all: $(Target)
8
9$(Target):watchdogrestart.c
10	$(CPP) watchdogrestart.c -o $(Target) $(LIBS)
11	@echo "generate $(Target) success!!!"
12
13
14.PHONY:clean cleanall
15
16clean:
17	@rm -f $(Target)
18
19cleanall:clean
20	@echo -e '\e[1;33m -rm -f $(INSTATLL_PATH)/$(Target) \e[0m'
21
22distclean:cleanall
23
24install:
25	@echo -e '\e[1;33m  install -m 0755 $(Target) $(INSTATLL_PATH)/$(Target) \e[0m'
26
27