Skip to content

Commit

Permalink
add rule for clean (apache#4364)
Browse files Browse the repository at this point in the history
* add rule for clean

* Update clean rule

Seems like lib/ directory is not made by the makefile
So don't delete directory, just the contents of it.
  • Loading branch information
vmiheer authored and Xingyu Zhou committed Nov 26, 2019
1 parent 01cdf99 commit 8adf527
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/howto_deploy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ lib/cpp_deploy_pack: cpp_deploy.cc lib/test_addone_sys.o lib/libtvm_runtime_pack
lib/cpp_deploy_normal: cpp_deploy.cc lib/test_addone_sys.o
@mkdir -p $(@D)
$(CXX) $(PKG_CFLAGS) -o $@ $^ -ltvm_runtime $(PKG_LDFLAGS)
clean:
rm lib/libtvm_runtime_pack.o lib/test_addone_sys.o lib/cpp_deploy_pack lib/cpp_deploy_normal

0 comments on commit 8adf527

Please sign in to comment.