dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/astman/Makefile

18 lines
311 B
Makefile
Executable File

TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; fi)
all: $(TARGET)
install:
mkdir -p /usr/sbin
if [ "$(TARGET)" != "" ]; then \
for x in $(TARGET); do \
install -m 755 $$x /usr/sbin/astman; \
done ; \
fi
clean:
rm -f *.o astman
astman: astman.o
$(CC) -o astman astman.o -lnewt