mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-12 01:52:38 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 lines
311 B
Makefile
Executable File
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
|