oleavr-rgl-a500-mini-linux-.../drivers/media/platform/sunxi-vfe/test/Makefile
Ole André Vadla Ravnås 169c65d57e Initial commit
2022-05-07 01:01:45 +02:00

15 lines
407 B
Makefile
Executable file

CC:=~/workspace/aw1689/lichee/out/external-toolchain/gcc-aarch64/bin/aarch64-linux-gnueabihf-gcc
#LINUX_DIR = $(shell pwd)/../../../../../include/:$(shell pwd)/../../../../../arch/arm64/include
ARCH_DIR=../../../../../arch/arm64/include/
CFLAGS := -I $(LINUX_DIR)
TARGET := csi_test
.PHONY: all clean
all: $(TARGET)
csi_test: csi_test.c
$(CC) $(CFLAGS) -static $^ -o $@
clean:
rm -rf $(TARGET)