diff options
Diffstat (limited to 'tools/csv2bin/Makefile')
-rw-r--r-- | tools/csv2bin/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/csv2bin/Makefile b/tools/csv2bin/Makefile new file mode 100644 index 00000000..949ec4e4 --- /dev/null +++ b/tools/csv2bin/Makefile @@ -0,0 +1,19 @@ +CC = gcc +CFLAGS = -O3 + +growth_rates_txt = $(wildcard *.txt) +growth_rates_bin = $(growth_rates_txt:%.txt=%.bin) + +.PHONY: all clean + +all: csv2bin $(growth_rates_bin) + @: + +clean: + $(RM) csv2bin $(growth_rates_bin) + +csv2bin: csv2bin.c + $(CC) $(CFLAGS) -o $@ $^ + +%.bin: %.txt + ./csv2bin $< |