aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)