add makefile

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-06-08 15:29:30 +08:00
parent 5fb4ea8474
commit ab97abe22a
2 changed files with 9 additions and 0 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
CFLAGS ?= -Iinclude
all: build build/test-get-set-cluster
build:
mkdir build
build/test-get-set-cluster:
$(CC) $(CFLAGS) tests/get-set-cluster.c src/fat12.c -o build/test-get-set-cluster