summaryrefslogtreecommitdiffstats
path: root/isomd5sum/Makefile
blob: 3166c654e8a00532522af56dc7edf0878e5c401e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include ../Makefile.inc

all:
	gcc -c -O -g -D_FILE_OFFSET_BITS=64 md5.c
	gcc -c -O -g -D_FILE_OFFSET_BITS=64 libimplantisomd5.c
	gcc -O -g -D_FILE_OFFSET_BITS=64 -o  implantisomd5 implantisomd5.c libimplantisomd5.o  md5.o -lm -lpopt
	gcc -c -O -g -D_FILE_OFFSET_BITS=64 libcheckisomd5.c
	gcc -O -g -D_FILE_OFFSET_BITS=64 -o checkisomd5 checkisomd5.c libcheckisomd5.o md5.o -lm

install:
	install -m 755 implantisomd5 $(DESTDIR)/$(RUNTIMEDIR)
	install -m 755 checkisomd5 $(DESTDIR)/$(RUNTIMEDIR)

clean:
	rm -f *.o
	rm -f implantisomd5 checkisomd5 

depend: