diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-06-21 17:20:13 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-06-21 17:20:13 +0200 |
| commit | 08a5f3441675c446482b473777cbba53d5191f20 (patch) | |
| tree | bb462b2439317d8c3be3e542501aa3211357045c /lib/makefile | |
| parent | 7d956c533e9fd7d3bbb9a4a8b7f89f0fe54d4bc3 (diff) | |
| download | libcsv-rework.tar.gz libcsv-rework.tar.bz2 libcsv-rework.zip | |
rework: add testing frameworkrework
Diffstat (limited to 'lib/makefile')
| -rw-r--r-- | lib/makefile | 20 |
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 @@ | |||
| 1 | include config.mk | ||
| 2 | |||
| 3 | LIBRARY=$(BUILD_DIR)/libcsv.a | ||
| 4 | OBJS=$(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 | |||
| 15 | compile_flags.txt: | ||
| 16 | echo "$(CFLAGS)" | tr ' ' '\n' > $@ | ||
| 17 | |||
| 18 | .PHONY: clean | ||
| 19 | clean: | ||
| 20 | rm -f $(LIBRARY) $(OBJS) | ||
