diff options
Diffstat (limited to '')
| -rw-r--r-- | 4init/build.ninja | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/4init/build.ninja b/4init/build.ninja deleted file mode 100644 index 41f1d7d..0000000 --- a/4init/build.ninja +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | # this file was generated from a makefile by shinobi | ||
| 2 | build __shin_always_build__: phony | ||
| 3 | |||
| 4 | build all: phony 4init | ||
| 5 | |||
| 6 | rule r1 | ||
| 7 | command = musl-gcc -s -static -o 4init 4init.o | ||
| 8 | generator = 1 | ||
| 9 | |||
| 10 | build 4init: r1 4init.o | ||
| 11 | description = build 4init | ||
| 12 | |||
| 13 | rule r2 | ||
| 14 | command = musl-gcc -std=c99 -Wextra -Wall -Os -fhardened -c 4init.c | ||
| 15 | generator = 1 | ||
| 16 | |||
| 17 | build 4init.o: r2 4init.c config.h | ||
| 18 | description = build 4init.o | ||
| 19 | |||
| 20 | rule r3 | ||
| 21 | command = sh -c 'mkdir -pv /usr/local/bin' && sh -c 'cp -fv 4init /usr/local/bin' | ||
| 22 | generator = 1 | ||
| 23 | |||
| 24 | build install: r3 | ||
| 25 | description = build install | ||
| 26 | |||
| 27 | rule r4 | ||
| 28 | command = rm -f /usr/local/bin/4init | ||
| 29 | generator = 1 | ||
| 30 | |||
| 31 | build uninstall: r4 | ||
| 32 | description = build uninstall | ||
| 33 | |||
| 34 | rule r5 | ||
| 35 | command = rm -f 4init.o 4init | ||
| 36 | generator = 1 | ||
| 37 | |||
| 38 | build clean: r5 | ||
| 39 | description = build clean | ||
| 40 | |||
| 41 | default all | ||
