aboutsummaryrefslogtreecommitdiff
path: root/lib/makefile
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-06-21 17:20:13 +0200
committerThomas Schmucker <ts@its1.de>2026-06-21 17:20:13 +0200
commit08a5f3441675c446482b473777cbba53d5191f20 (patch)
treebb462b2439317d8c3be3e542501aa3211357045c /lib/makefile
parent7d956c533e9fd7d3bbb9a4a8b7f89f0fe54d4bc3 (diff)
downloadlibcsv-rework.tar.gz
libcsv-rework.tar.bz2
libcsv-rework.zip
rework: add testing frameworkrework
Diffstat (limited to 'lib/makefile')
-rw-r--r--lib/makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/makefile b/lib/makefile
deleted file mode 100644
index 5c832ba..0000000
--- a/lib/makefile
+++ /dev/null
@@ -1,20 +0,0 @@
1include config.mk
2
3LIBRARY=$(BUILD_DIR)/libcsv.a
4OBJS=$(BUILD_DIR)/csv.o
5
6$(LIBRARY): $(OBJS)
7 ar $(ARFLAGS) $@ $(OBJS)
8
9$(BUILD_DIR)/%.o: src/%.c | $(BUILD_DIR)
10 cc $(CFLAGS) -c $< -o $@
11
12$(BUILD_DIR):
13 mkdir -p $@
14
15compile_flags.txt:
16 echo "$(CFLAGS)" | tr ' ' '\n' > $@
17
18.PHONY: clean
19clean:
20 rm -f $(LIBRARY) $(OBJS)