on master help sign in
Work around stupid OSX filesystem nonsense
6cfaad7Bryan O'Sullivan
tests/benchmarks/Makefile+1−3
@@ -3,11 +3,9 @@ CFLAGS := -g $(shell icu-config --cflags)
3CPPFLAGS := $(shell icu-config --cppflags)
3CPPFLAGS := $(shell icu-config --cppflags)
4LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
4LDFLAGS := $(CFLAGS) $(shell icu-config --ldflags --ldflags-icuio)
5
5
6−all := fileread
6+all := fileread_c
7
7
8all: $(all)
8all: $(all)
9
9
10−fileread: fileread.o
11−
12clean:
10clean:
13 -rm -f *.hi *.o $(all)
11 -rm -f *.hi *.o $(all)
tests/benchmarks/fileread.c → tests/benchmarks/fileread_c.crenamed+1−1
@@ -75,7 +75,7 @@ void string(const char *name)
75int main(int argc, char **argv)
75int main(int argc, char **argv)
76{
76{
77 if (argc != 3) {
77 if (argc != 3) {
78− fprintf(stderr, "Usage: fileread handler filename\n");
78+ fprintf(stderr, "Usage: %s handler filename\n", argv[0]);
79 exit(1);
79 exit(1);
80 }
80 }
81
81