Files
asterisk/astman/Makefile
Mark Spencer 7370ed011e Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-07-27 14:29:35 +00:00

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