SmartAudio/package/allwinner/crash-worker/test/Makefile

17 lines
286 B
Makefile

target =crash-worker-test
INCLUDES += -I./
install:$(target)
@mkdir -p $(CONFIG_PREFIX)/usr/bin
@cp $(target) $(CONFIG_PREFIX)/usr/bin
$(target): fault-test.c
$(CC) -g $(CFLAGS) $(LOCAL_CFLAGS) $(INCLUDES) -o $@ $<
all: install
clean:
rm -rf $(target) $(OBJS)