Makefile

changeset 71
3e2d23e25fc3
parent 70
16e2cf55dbd9
child 74
12bc5088172e
     1.1 --- a/Makefile	Fri Feb 21 12:29:16 2003 +0000
     1.2 +++ b/Makefile	Sat Feb 22 10:02:06 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.15 2003/02/21 04:29:16 eric Exp $
     1.7 +# $Id: Makefile,v 1.16 2003/02/22 02:02:06 eric Exp $
     1.8  # Copyright 2001 Eric Smith <eric@brouhaha.com>
     1.9  #
    1.10  # This program is free software; you can redistribute it and/or modify
    1.11 @@ -43,10 +43,10 @@
    1.12  TARGETS = t2p bitblt_test
    1.13  
    1.14  CSRCS = t2p.c semantics.c bitblt.c bitblt_test.c bitblt_table_gen.c \
    1.15 -	pdf.c pdf_util.c pdf_prim.c pdf_g4.c
    1.16 +	pdf.c pdf_util.c pdf_prim.c pdf_g4.c pdf_g4_table_gen.c
    1.17  OSRCS = scanner.l parser.y
    1.18  HDRS = t2p.h semantics.h bitblt.h \
    1.19 -	pdf.h pdf_private.h pdf_util.h pdf_prim.h pdf_g4_codes.h
    1.20 +	pdf.h pdf_private.h pdf_util.h pdf_prim.h
    1.21  MISC = COPYING Makefile
    1.22  
    1.23  DISTFILES = $(MISC) $(HDRS) $(CSRCS) $(OSRCS)
    1.24 @@ -54,7 +54,7 @@
    1.25  
    1.26  
    1.27  AUTO_CSRCS = scanner.c parser.tab.c
    1.28 -AUTO_HDRS = parser.tab.h bitblt_tables.h
    1.29 +AUTO_HDRS = parser.tab.h bitblt_tables.h pdf_g4_tables.h
    1.30  AUTO_MISC = parser.output
    1.31  
    1.32  
    1.33 @@ -71,6 +71,11 @@
    1.34  
    1.35  bitblt_test: bitblt_test.o bitblt.o
    1.36  
    1.37 +pdf_g4_tables.h: pdf_g4_table_gen
    1.38 +	./pdf_g4_table_gen >pdf_g4_tables.h
    1.39 +
    1.40 +pdf_g4_table_gen: pdf_g4_table_gen.o
    1.41 +
    1.42  
    1.43  dist: $(DISTFILES)
    1.44  	-rm -rf $(DISTNAME)