# # This is a basic makefile that uses a flat directory structure. It could be # expanded to support multiple subdirectories and/or libraries # #.SILENT: all lib test steril clean tar dist link .DEFAULT TOPDIR=../ ROOTDIR=false PLUGINDIRS= time ipaqlight all: all_plugins include $(TOPDIR)/conf/Makefile.common plugin_daemon_dir: @(if [ -e $(PREFIX)/lib/plugins ]; then \ echo "$(PREFIX)/lib/plugins exists"; else \ mkdir $(PREFIX)/lib/plugins ; \ fi) @(if [ -e $(PREFIX)/lib/plugins/sensors ]; then \ echo "$(PREFIX)/lib/plugins/sensors"; else \ mkdir $(PREFIX)/lib/plugins/sensors ; \ fi) all_plugins: @echo $(VIO)[MAKE]$(NOR) src @for dir in $(PLUGINDIRS); do\ ($(MAKE) -C $$dir) \ done