blob: e56e105935e0fdf1e724aab0fd83d486b6ba9738 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
include config.mk
BIN = 4init
OBJ = 4init.o
all: $(BIN)
$(BIN): $(OBJ)
$(CC) $(LDFLAGS) -o $@ $(OBJ)
$(OBJ): config.h
install: all
mkdir -pv $(DESTDIR)$(PREFIX)/bin
cp -fv $(BIN) $(DESTDIR)$(PREFIX)/bin
uninstall: all
rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)
clean: all
rm -f 4init.o 4init
|