summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-11-19 11:42:30 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-11-19 11:42:30 +0200
commit39f0b37c3703ef1765c91f5ae847f4315e0bb66a (patch)
treecdbf3d26dac1626821a960b8f1f7b427504456f7 /Makefile
parent54456e8d6b68f07939b29aa6f776f892d4c8283a (diff)
rename app executable to andre (loader.c)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index d2d9058..e1b5820 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ override CFLAGS ?= -g
override CFLAGS += -std=c11 $(WARNINGS)
override CPPFLAGS += -Isrc -DANDROID_X86_LINKER -DVERBOSE_FUNCTIONS
-bins = app
+bins = andre
all: $(bins)
%.a:
@@ -66,15 +66,15 @@ libdl.so: runtime/libdl.so
libpthread.so: runtime/libpthread.so
ln -s $< $@
-app: private override CPPFLAGS += -D_GNU_SOURCE
-app: private override LDFLAGS += -L. -Wl,-Y,runtime,-rpath,runtime
-app: private override LDLIBS += -ldl -lpthread
-app: private override LDLIBS += -ljvm -ljvm-java -ljvm-android -ljvm-unity
-app: src/app.c libdl.so libpthread.so
-app: runtime/libpthread.so runtime/libc.so
-app: runtime/libandroid.so runtime/liblog.so
-app: runtime/libEGL.so runtime/libOpenSLES.so
-app: runtime/libjvm.so runtime/libjvm-java.so runtime/libjvm-android.so runtime/libjvm-unity.so
+andre: private override CPPFLAGS += -D_GNU_SOURCE
+andre: private override LDFLAGS += -L. -Wl,-Y,runtime,-rpath,runtime
+andre: private override LDLIBS += -ldl -lpthread
+andre: private override LDLIBS += -ljvm -ljvm-java -ljvm-android -ljvm-unity
+andre: src/loader.c libdl.so libpthread.so
+andre: runtime/libpthread.so runtime/libc.so
+andre: runtime/libandroid.so runtime/liblog.so
+andre: runtime/libEGL.so runtime/libOpenSLES.so
+andre: runtime/libjvm.so runtime/libjvm-java.so runtime/libjvm-android.so runtime/libjvm-unity.so
install-bin: $(bins)
install -Dm755 $^ -t "$(DESTDIR)$(PREFIX)$(BINDIR)"