diff options
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) | ||
