Flattened examples directory

This commit is contained in:
Joseph Henry
2018-07-19 17:35:42 -07:00
parent 71fe3c867e
commit 60549bc8a3
74 changed files with 785 additions and 831 deletions

18
examples/scala/Makefile Normal file
View File

@@ -0,0 +1,18 @@
OSTYPE=$(shell uname -s | tr '[A-Z]' '[a-z]')
BUILD=build/$(OSTYPE)
ifeq ($(OSTYPE),darwin)
SHARED_LIB=libzt.dylib
endif
ifeq ($(OSTYPE),linux)
SHARED_LIB=libzt.so
endif
example_scala_app:
scalac *.scala
copy_dynamic_lib:
cp ../../../$(BUILD)/$(SHARED_LIB) .
clean:
-find . -type f \( -name '*.class' \) -delete