diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-17 23:04:55 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-17 23:04:55 +0200 |
commit | f378a448336d4fb3547b53c0712fd7307fc0ba3a (patch) | |
tree | ec1340379c497a1009384b2eb9035f5fc7be53d8 /Makefile | |
parent | 33a9a63787154facfdaddaf719e727947c159800 (diff) |
Add fake jvm
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -40,9 +40,11 @@ runtime/liblog.so: runtime src/liblog.c linker.a: CFLAGS += -D_GNU_SOURCE -DANDROID_X86_LINKER -DLINKER_DEBUG=1 linker.a: CFLAGS += -Wno-pedantic -Wno-variadic-macros -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast linker.a: src/linker/dlfcn.o src/linker/linker.o src/linker/linker_environ.o src/linker/rt.o src/linker/strlcpy.o +jvm.a: private CFLAGS += -Wno-unused-variable +jvm.a: src/fakejvm/jvm.o app: private LDLIBS += -ldl -Wl,-rpath,runtime -app: src/app.c linker.a runtime/libc.so runtime/libpthread.so runtime/libandroid.so runtime/liblog.so +app: src/app.c linker.a jvm.a runtime/libc.so runtime/libpthread.so runtime/libandroid.so runtime/liblog.so install-bin: $(bins) install -Dm755 $^ -t "$(DESTDIR)$(PREFIX)$(BINDIR)" @@ -50,7 +52,7 @@ install-bin: $(bins) install: install-bin clean: - $(RM) $(bins) *.a src/linker/*.o + $(RM) $(bins) *.a src/linker/*.o src/fakejvm/*.o $(RM) -r runtime .PHONY: all clean install |