ref: c5b572ab3f1e3a243408b84498bb7d7dce808b71
parent: d9367f7452f9117ce3a7f7649966cb42a2c33995
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Sun Jun 10 03:15:10 EDT 2001
added 'make clean' target git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@22 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/makefile
+++ b/makefile
@@ -1,7 +1,9 @@
CFLAGS=-Wall -g
-all: jbig2dec test_arith test_huffman
+APPS=jbig2dec test_arith test_huffman
+all: $(APPS)
+
jbig2dec: jbig2dec.o jbig2_huffman.o jbig2_arith.o
test_huffman: jbig2_huffman.c
@@ -10,3 +12,5 @@
test_arith: jbig2_arith.c
gcc $(CFLAGS) -DTEST -DDEBUG jbig2_arith.c -o test_arith
+clean:
+ rm $(APPS) *.o
\ No newline at end of file