Magisk/Makefile

14 lines
251 B
Makefile
Raw Normal View History

LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),64)
LIBDIR ?= libs/x86_64
else
LIBDIR ?= libs/x86
endif
2013-06-28 03:42:09 +02:00
2015-11-09 21:33:32 +01:00
CFLAGS ?= -g -Wall -Werror -Wshadow -O2 -pipe -std=gnu11
2013-06-28 03:42:09 +02:00
LDLIBS=$(LIBDIR)/libsepol.a
all: sepolicy-inject
sepolicy-inject: sepolicy-inject.c