mirror of
https://github.com/janet-lang/janet
synced 2026-10-05 07:11:40 +00:00
Add json native instead of hello. Remove metabuild
code.
This commit is contained in:
@@ -130,11 +130,11 @@ valtest: $(DST_TARGET)
|
||||
###################
|
||||
|
||||
natives: $(DST_TARGET)
|
||||
$(MAKE) -C natives/hello
|
||||
$(MAKE) -C natives/json
|
||||
$(MAKE) -j 8 -C natives/sqlite3
|
||||
|
||||
clean-natives:
|
||||
$(MAKE) -C natives/hello clean
|
||||
$(MAKE) -C natives/json clean
|
||||
$(MAKE) -C natives/sqlite3 clean
|
||||
|
||||
#################
|
||||
@@ -154,6 +154,10 @@ install: $(DST_TARGET)
|
||||
cp $(DST_LIBRARY) $(LIBDIR)/$(DST_LIBRARY)
|
||||
$(LDCONFIG)
|
||||
|
||||
install-libs: natives
|
||||
cp lib/* $(DST_PATH)
|
||||
cp natives/*/*.so $(DST_PATH)
|
||||
|
||||
uninstall:
|
||||
-rm $(BINDIR)/$(DST_TARGET)
|
||||
-rm $(LIBDIR)/$(DST_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user