From a68a69b3fab1f2f35be22940f6151db90a8b8cc4 Mon Sep 17 00:00:00 2001 From: Nick Shipp Date: Wed, 18 Jan 2017 05:17:11 -0500 Subject: Major nshp rewrite --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7e2fde5..4d4ee77 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ include config.mk +CC = musl-gcc OBJ = sinit.o BIN = sinit +CFLAGS = $(shell pkg-config --cflags libevdev) -Os -all: $(BIN) +all: $(BIN) poweroff reboot $(BIN): $(OBJ) $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS) -- cgit v1.2.3-70-g09d2