Initial import.
[vtparse.git] / Makefile
blob044a487bf5433c598be1380f65b27c4fbbae813b
2 RUBY_GENERATION_FILES = vtparse_gen_c_tables.rb vtparse_tables.rb
4 all: vtparse_table.c vtparse_table.h test
6 clean:
7 rm -f vtparse_table.c vtparse_table.h test
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 -o test vtparse_test.c vtparse.c vtparse_table.c
18 .PHONY: all clean