Makefile

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