2018-05-15 09:09:20 +08:00
|
|
|
|
|
|
|
OUT_DIR ?= .
|
|
|
|
|
2018-03-29 13:46:06 +08:00
|
|
|
all:
|
2018-07-02 10:59:43 +08:00
|
|
|
$(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread -lrt
|
2018-03-29 13:46:06 +08:00
|
|
|
|
|
|
|
clean:
|
2018-06-04 15:57:25 +08:00
|
|
|
rm -f $(OUT_DIR)/acrntrace
|
2018-05-17 03:21:45 +08:00
|
|
|
|
|
|
|
install: $(OUT_DIR)/acrntrace
|
|
|
|
install -d $(DESTDIR)/usr/bin
|
|
|
|
install -t $(DESTDIR)/usr/bin $(OUT_DIR)/acrntrace
|