Minor cosmetic updates to mkimage; fail immediately if we're missing
[jigit.git] / Makefile
1 BINS = jigdump mkimage jigsum rsyncsum
2 CFLAGS = -g -Wall -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
3 #CC = gcc
4
5 all: $(BINS)
6
7 mkimage: mkimage.o endian.o md5.o
8         $(CC) -o $@ $+ -lz # -lbz2
9
10 jigsum: jigsum.o md5.o
11         $(CC) -o $@ $+
12
13 rsyncsum: rsync.o md5.o
14         $(CC) -o $@ $+
15
16 jigdump: jigdump.o md5.o
17         $(CC) -o $@ $+
18
19 clean:
20         rm -f *.o $(BINS) *~
21
22 distclean: clean