Javascript examples tidy up
- Remove empty files - Improve clean
This commit is contained in:
parent
b8b61be301
commit
ac89f7f785
7 changed files with 14 additions and 13 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -124,16 +124,19 @@ Examples/test-suite/uffi/*/
|
||||||
*_wrap.c
|
*_wrap.c
|
||||||
*_wrap.cxx
|
*_wrap.cxx
|
||||||
|
|
||||||
|
# C# generated files
|
||||||
|
*_runme.exe.mdb
|
||||||
|
*_runme.exe
|
||||||
|
|
||||||
|
# Javascript generated files
|
||||||
|
*.gyp
|
||||||
|
|
||||||
# Python generated files, based on:
|
# Python generated files, based on:
|
||||||
# https://github.com/github/gitignore/blob/master/Python.gitignore
|
# https://github.com/github/gitignore/blob/master/Python.gitignore
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*/__pycache__/
|
*/__pycache__/
|
||||||
/__pycache__/
|
/__pycache__/
|
||||||
|
|
||||||
# C# generated files
|
|
||||||
*_runme.exe.mdb
|
|
||||||
*_runme.exe
|
|
||||||
|
|
||||||
# Scratch directories
|
# Scratch directories
|
||||||
Examples/scratch
|
Examples/scratch
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -730,7 +730,8 @@ javascript_clean:
|
||||||
rm -f *_wrap* $(RUNME)
|
rm -f *_wrap* $(RUNME)
|
||||||
rm -f core @EXTRA_CLEAN@
|
rm -f core @EXTRA_CLEAN@
|
||||||
rm -f *.@OBJEXT@ *@JSSO@ *.$(SO)
|
rm -f *.@OBJEXT@ *@JSSO@ *.$(SO)
|
||||||
(cd $(ROOT_DIR)/Tools/javascript && $(MAKE) -s clean)
|
rm -f binding.gyp
|
||||||
|
cd $(ROOT_DIR)/Tools/javascript && $(MAKE) -s clean
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
##### ANDROID ######
|
##### ANDROID ######
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
SRCS = example.cxx
|
SRCS =
|
||||||
|
|
||||||
include $(SRCDIR)../example.mk
|
include $(SRCDIR)../example.mk
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"target_name": "example",
|
"target_name": "example",
|
||||||
"sources": [ "$srcdir/example.cxx", "example_wrap.cxx" ],
|
"sources": [ "example_wrap.cxx" ],
|
||||||
"include_dirs": ["$srcdir"]
|
"include_dirs": ["$srcdir"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -116,9 +116,6 @@ endif
|
||||||
|
|
||||||
%.clean:
|
%.clean:
|
||||||
rm -rf $*
|
rm -rf $*
|
||||||
|
rm -f $*_wrap.*
|
||||||
clean:
|
rm -f $*.so
|
||||||
rm -f *_wrap.cxx
|
rm -f $*.o
|
||||||
rm -f *_wrap.c
|
|
||||||
rm -f *.so
|
|
||||||
rm -f *.o
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue