1 2 3 4 5 6 7 8 9 10 11
CFLAGS= LDFLAGS=-lpthread -static all: ${CROSS_COMPILE}gcc dmabuf-sync-test.c -o dmabuf-sync-test ${CFLAGS} ${LDFLAGS} run_tests: all @./dmabuf-sync-test || echo "dmabuf-sync-test: [FAIL]" clean: rm -fr ./dmabuf-sync-test