Version 0.3.0 from FTP
[asterisk/asterisk.git] / astman / Makefile
1
2 TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; fi)
3 all: $(TARGET)
4
5 install:
6         mkdir -p /usr/sbin
7         if [ "$(TARGET)" != "" ]; then \
8                 for x in $(TARGET); do \
9                         install -m 755 $$x /usr/sbin/astman; \
10                 done ; \
11         fi
12
13 clean:
14         rm -f *.o astman
15
16 astman: astman.o
17         $(CC) -o astman astman.o -lnewt