1*a8753f8fSMemoryShoreifeq ($(ARCH), x86_64) 2*a8753f8fSMemoryShore CROSS_COMPILE=x86_64-linux-musl- 3*a8753f8fSMemoryShoreelse ifeq ($(ARCH), riscv64) 4*a8753f8fSMemoryShore CROSS_COMPILE=riscv64-linux-musl- 5*a8753f8fSMemoryShoreendif 6*a8753f8fSMemoryShore 7*a8753f8fSMemoryShoreCC=$(CROSS_COMPILE)gcc 8*a8753f8fSMemoryShore 9*a8753f8fSMemoryShore.PHONY: all 10*a8753f8fSMemoryShoreall: main.c 11*a8753f8fSMemoryShore $(CC) -static -o test_sigint main.c 12*a8753f8fSMemoryShore 13*a8753f8fSMemoryShore.PHONY: install clean 14*a8753f8fSMemoryShoreinstall: all 15*a8753f8fSMemoryShore mv test_sigint $(DADK_CURRENT_BUILD_DIR)/test_sigint 16*a8753f8fSMemoryShore 17*a8753f8fSMemoryShoreclean: 18*a8753f8fSMemoryShore rm test_sigint *.o 19*a8753f8fSMemoryShore 20*a8753f8fSMemoryShorefmt: 21