blob: f24282a4a0c0ebdd1635148681a3b4c701e75d0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.POSIX:
CONFIGFILE = config.mk
include $(CONFIGFILE)
all: sctrace
sctrace: sctrace.c arg.h
$(CC) -o $@ $@.c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
install: sctrace
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
cp -- sctrace "$(DESTDIR)$(PREFIX)/bin"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/bin/sctrace"
clean:
-rm -f -- *.o sctrace
.PHONY: all install uninstall clean
|