projects
/
rrq
/
overlay-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
275275e2566936ff886d2f6f481e0a5825765b04
[rrq/overlay-boot.git]
/
Makefile
1
all: reaper
2
3
# Pick compiler by preference
4
CCPREFS = /usr/bin/musl-gcc /usr/bin/gcc
5
CC = $(word 1,$(shell ls $(CCPREFS) 2>/dev/null))
6
7
CFLAGS = -Wall -static -O3 -flto
8
9
reaper: reaper.c
10
$(CC) $(CFLAGS) -o $@ $^
11
strip $@
12
13
clean:
14
rm -f reaper