From ab97abe22aedf7ca3c35c1e1630cd96cfc2d45a6 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Sat, 8 Jun 2019 15:29:30 +0800 Subject: [PATCH] add makefile Signed-off-by: Sean Cross --- Makefile | 9 +++++++++ tests/{test_get_set_cluster.c => get-set-cluster.c} | 0 2 files changed, 9 insertions(+) create mode 100644 Makefile rename tests/{test_get_set_cluster.c => get-set-cluster.c} (100%) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..429b6bb --- /dev/null +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/tests/test_get_set_cluster.c b/tests/get-set-cluster.c similarity index 100% rename from tests/test_get_set_cluster.c rename to tests/get-set-cluster.c