Makefile

changeset 20
a1cd8cb9d09e
parent 15
dda3d673b82b
child 43
b80cb5a4282a
     1.1 diff -r e9bf1ed4f331 -r a1cd8cb9d09e Makefile
     1.2 --- a/Makefile	Mon Dec 31 02:33:50 2001 +0000
     1.3 +++ b/Makefile	Mon Dec 31 07:25:08 2001 +0000
     1.4 @@ -1,6 +1,6 @@
     1.5  # tiff2pdf: build a PDF file out of one or more TIFF Class F Group 4 files
     1.6  # Makefile
     1.7 -# $Id: Makefile,v 1.6 2001/12/29 20:16:46 eric Exp $
     1.8 +# $Id: Makefile,v 1.7 2001/12/30 23:24:50 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 @@ -24,8 +24,8 @@
    1.13  YACC = bison
    1.14  YFLAGS = -d -v
    1.15  
    1.16 -SRCS = bitblt.c bitblt_test.c tiff2pdf.c
    1.17 -HDRS = type.h bitblt.h tiff2pdf.h
    1.18 +SRCS = bitblt.c bitblt_test.c tiff2pdf.c semantics.c
    1.19 +HDRS = type.h bitblt.h tiff2pdf.h semantics.h
    1.20  MISC = Makefile scanner.l parser.y
    1.21  
    1.22  TARGETS = tiff2pdf bitblt_test
    1.23 @@ -34,7 +34,7 @@
    1.24  AUTO_HDRS = parser.tab.h
    1.25  AUTO_MISC = parser.output
    1.26  
    1.27 -tiff2pdf: tiff2pdf.o scanner.o parser.tab.o
    1.28 +tiff2pdf: tiff2pdf.o scanner.o semantics.o parser.tab.o
    1.29  
    1.30  bitblt_test: bitblt_test.o bitblt.o
    1.31  
    1.32 @@ -42,6 +42,12 @@
    1.33  clean:
    1.34  	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) 
    1.35  
    1.36 +wc:
    1.37 +	wc -l $(SRCS) $(HDRS) $(MISC)
    1.38 +
    1.39 +ls-lt:
    1.40 +	ls -lt $(SRCS) $(HDRS) $(MISC)
    1.41 +
    1.42  
    1.43  %.tab.c %.tab.h %.output: %.y
    1.44  	$(YACC) $(YFLAGS) $<