Makefile

changeset 44
0f78374addae
parent 43
b80cb5a4282a
child 48
3d0be1c1c1b2
     1.1 diff -r b80cb5a4282a -r 0f78374addae Makefile
     1.2 --- a/Makefile	Tue Jan 22 09:42:42 2002 +0000
     1.3 +++ b/Makefile	Wed Jan 30 08:55:53 2002 +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 +# t2p: build a PDF file out of one or more TIFF Class F Group 4 files
     1.7  # Makefile
     1.8 -# $Id: Makefile,v 1.8 2002/01/22 01:41:12 eric Exp $
     1.9 +# $Id: Makefile,v 1.9 2002/01/30 00:55:53 eric Exp $
    1.10  # Copyright 2001 Eric Smith <eric@brouhaha.com>
    1.11  #
    1.12  # This program is free software; you can redistribute it and/or modify
    1.13 @@ -24,23 +24,27 @@
    1.14  YACC = bison
    1.15  YFLAGS = -d -v
    1.16  
    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 +SRCS = bitblt.c bitblt_test.c t2p.c semantics.c
    1.20 +HDRS = type.h bitblt.h t2p.h semantics.h
    1.21  MISC = Makefile scanner.l parser.y
    1.22  
    1.23 -TARGETS = tiff2pdf bitblt_test
    1.24 +TARGETS = t2p bitblt_test
    1.25  
    1.26  AUTO_SRCS = scanner.c parser.tab.c
    1.27  AUTO_HDRS = parser.tab.h
    1.28  AUTO_MISC = parser.output
    1.29  
    1.30 -tiff2pdf: tiff2pdf.o scanner.o semantics.o parser.tab.o bitblt.o
    1.31 +t2p: t2p.o scanner.o semantics.o parser.tab.o bitblt.o
    1.32  
    1.33  bitblt_test: bitblt_test.o bitblt.o
    1.34  
    1.35  
    1.36  clean:
    1.37 -	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) 
    1.38 +	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC)
    1.39 +
    1.40 +very_clean:
    1.41 +	rm -f *.o *.d $(TARGETS) $(AUTO_SRCS) $(AUTO_HDRS) $(AUTO_MISC) \
    1.42 +		*~ *.pdf
    1.43  
    1.44  wc:
    1.45  	wc -l $(SRCS) $(HDRS) $(MISC)