Makefile

changeset 97
f2e13c2ff575
parent 91
e63762afae80
child 99
26f7edf15ef4
     1.1 --- a/Makefile	Wed Mar 12 06:02:46 2003 +0000
     1.2 +++ b/Makefile	Wed Mar 12 06:39:22 2003 +0000
     1.3 @@ -1,6 +1,6 @@
     1.4  # t2p: build a PDF file out of one or more TIFF Class F Group 4 files
     1.5  # Makefile
     1.6 -# $Id: Makefile,v 1.21 2003/03/10 01:49:49 eric Exp $
     1.7 +# $Id: Makefile,v 1.22 2003/03/11 22:39:22 eric Exp $
     1.8  # Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
     1.9  #
    1.10  # This program is free software; you can redistribute it and/or modify
    1.11 @@ -65,7 +65,7 @@
    1.12  	bitblt.c bitblt_table_gen.c bitblt_g4.c g4_table_gen.c \
    1.13  	pdf.c pdf_util.c pdf_prim.c pdf_bookmark.c pdf_name_tree.c pdf_g4.c
    1.14  OSRCS = scanner.l parser.y
    1.15 -HDRS = t2p.h semantics.h bitblt.h \
    1.16 +HDRS = t2p.h semantics.h bitblt.h bitblt_tables.h \
    1.17  	pdf.h pdf_private.h pdf_util.h pdf_prim.h pdf_name_tree.h
    1.18  MISC = COPYING Makefile
    1.19  
    1.20 @@ -73,9 +73,9 @@
    1.21  DISTNAME = $(PACKAGE)-$(VERSION)
    1.22  
    1.23  
    1.24 -AUTO_CSRCS = scanner.c parser.tab.c
    1.25 -AUTO_HDRS = parser.tab.h bitblt_tables.h g4_tables.h
    1.26 -AUTO_MISC = parser.output
    1.27 +AUTO_CSRCS = scanner.c parser.tab.c bitblt_tables.c
    1.28 +AUTO_HDRS = parser.tab.h g4_tables.h
    1.29 +AUTO_MISC = parser.output bitblt_tables.h
    1.30  
    1.31  
    1.32  -include Maketest
    1.33 @@ -84,7 +84,8 @@
    1.34  all: $(TARGETS) $(TEST_TARGETS)
    1.35  
    1.36  
    1.37 -t2p: t2p.o scanner.o semantics.o parser.tab.o bitblt.o bitblt_g4.o \
    1.38 +t2p: t2p.o scanner.o semantics.o parser.tab.o \
    1.39 +		bitblt.o bitblt_g4.o bitblt_tables.o \
    1.40  		pdf.o pdf_util.o pdf_prim.o pdf_bookmark.o pdf_name_tree.o \
    1.41  		pdf_g4.o
    1.42  	$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
    1.43 @@ -94,7 +95,10 @@
    1.44  
    1.45  
    1.46  bitblt_tables.h: bitblt_table_gen
    1.47 -	./bitblt_table_gen >bitblt_tables.h
    1.48 +	./bitblt_table_gen -h >bitblt_tables.h
    1.49 +
    1.50 +bitblt_tables.c: bitblt_table_gen
    1.51 +	./bitblt_table_gen -c >bitblt_tables.c
    1.52  
    1.53  bitblt_table_gen: bitblt_table_gen.o
    1.54