diff options
-rwxr-xr-x | apps/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile new file mode 100755 index 000000000..06ab4efdc --- /dev/null +++ b/apps/Makefile @@ -0,0 +1,27 @@ +# +# Asterisk -- A telephony toolkit for Linux. +# +# Makefile for PBX frontends (dynamically loaded) +# +# Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC +# +# Mark Spencer <markster@linux-support.net> +# +# This program is free software, distributed under the terms of +# the GNU General Public License +# + +APPS=app_dial.so app_playback.so app_voicemail.so app_directory.so app_intercom.so app_mp3.so + +CFLAGS+= + +all: $(APPS) + +clean: + rm -f *.so *.o + +%.so : %.o + $(CC) -shared -Xlinker -x -o $@ $< + +install: all + for x in $(APPS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done |