Makefile

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