makefile added

This commit is contained in:
Oleg Sheynin 2023-04-23 12:58:36 -04:00
parent dd97257747
commit 593066e773

23
utils/Makefile Normal file
View File

@ -0,0 +1,23 @@
SUBDIRS =
SUBDIRS += research
SUBDIRS += utils
FILES=
FILES += release_version.txt
all: install
install: clean-install
mkdir -p .install
for subdir in $(SUBDIRS); do cp -r $${subdir} .install/; done
for file in $(FILES); do cp $${file} .install/; done
find .install/ -type f | xargs chmod ogu-w
clean-install:
rm -rf .install/*
dist: install
mkdir -p $(DISTDIR)
(cd .install; tar cvf - .) | (cd $(DISTDIR) ; tar xvf -)
echo $(DISTDIR)