diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-06-09 16:08:51 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-06-09 16:08:51 +0200 |
commit | e9a4902b0000dc8da487bf0d46a0b6aeecbed017 (patch) | |
tree | d704c073c9dd96db37a2839003760077016b0e5b /Makefile | |
parent | asdc (diff) | |
download | bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.tar bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.tar.gz bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.tar.bz2 bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.tar.lz bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.tar.xz bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.tar.zst bverbose-e9a4902b0000dc8da487bf0d46a0b6aeecbed017.zip |
Diffstat (limited to '')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a68fc63 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +.DEFAULT_HOAD := default +default: + @echo "welcome to bverbose Makefile." + @echo "only debian and ubuntu are supported." + @echo "targets are" + @echo " make prepare installs dependencies - requires root" + @echo " make install compiles some useful binaries." + @echo "no target specified, exiting." + +prepare: + apt install libuuid1 uuid-dev -y + +install: + mkdir -p bin + gcc -luuid -I lib -I src test/tape-test.c -o bin/bvr-compose-single + gcc test/compose-all-in-dir.c -I lib -I src -o bin/bvr-compose-html -luuid + gcc test/jsbundle-test.c -I lib -I src -o -luuid bin/bvr-jsbundle + gcc test/jsmin-test.c -I lib -I src -o -luuid bin/bvr-jsmin + @echo "install target done, now you should add the bin directory to your PATH" |