aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick Shipp <nick@shipp.ninja>2017-01-18 05:17:11 -0500
committerNick Shipp <nick@shipp.ninja>2017-01-18 05:17:11 -0500
commita68a69b3fab1f2f35be22940f6151db90a8b8cc4 (patch)
treeb57297fd139c2c9541ed9878db78ba95959bfaa7 /Makefile
parent731f65fc82afcd474f4c682f9f0069e5c80c86dd (diff)
Major nshp rewrite
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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)