# 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 all: testdaemon_daemon include $(TOPDIR)/conf/Makefile.common DISTNAME=ignore LIBVERSION=0.0.1 LIBNAME=iwear_daemon_testdaemon LIB=$(LIBNAME).$(DYN_SUFFIX).$(LIBVERSION) testdaemon testdaemon_daemon: testdaemon.o @echo $(BLU)[LD]$(NOR) $(LIB) @$(CXX) $(LIBINCLUDE) -liwear_uiservices $(CXXLDFLAGS) testdaemon.o -o ./lib/$(LIB) @echo $(GRN)[LN -s]$(NOR) $(LIBNAME).$(DYN_SUFFIX) @ln -sf $(PWD)/testdaemon/lib/$(LIB) $(PREFIX)/lib/plugins/daemons/$(LIBNAME).$(DYN_SUFFIX)