23 lines
316 B
Makefile
23 lines
316 B
Makefile
#
|
|
# Makefile for big integer library and test
|
|
#
|
|
|
|
DIRS = src tst
|
|
|
|
all:
|
|
for i in $(DIRS) ; do \
|
|
$(MAKE) -C $$i install ; \
|
|
done
|
|
|
|
clean:
|
|
for i in $(DIRS) ; do \
|
|
$(MAKE) -C $$i clean ; \
|
|
done
|
|
rm -rf ./build
|
|
rm -f *~
|
|
|
|
dist: clean
|
|
(cd .. ; \
|
|
tar -cvf bigint.tar bigint ; \
|
|
gzip -f bigint.tar)
|