Add Julian Scheid to credits, and add TODO note about character set support.
[vtparse.git] / Makefile
blob6f9858580829a4eb12216df703e51a9b118e1b8d
2 RUBY_GENERATION_FILES = vtparse_gen_c_tables.rb vtparse_tables.rb
4 all: vtparse_table.c vtparse_table.h test libvtparse.a
6 clean:
7 rm -f vtparse_table.c vtparse_table.h test vtparse.o vtparse_table.o libvtparse.a
9 vtparse_table.c: $(RUBY_GENERATION_FILES)
10 ruby vtparse_gen_c_tables.rb
12 vtparse_table.h: $(RUBY_GENERATION_FILES)
13 ruby vtparse_gen_c_tables.rb
15 test: vtparse.c vtparse.h vtparse_table.c vtparse_table.h vtparse_test.c
16 gcc -Wall -o test vtparse_test.c vtparse.c vtparse_table.c
18 libvtparse.a: vtparse.o vtparse_table.o
19 rm -f $@
20 ar r $@ $^
21 ranlib $@
23 .c.o:
24 gcc -O3 -Wall -o $@ -c $<
27 .PHONY: all clean