24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
26 # POSSIBILITY OF SUCH DAMAGE. |
26 # POSSIBILITY OF SUCH DAMAGE. |
27 # |
27 # |
28 |
28 |
29 BUILD_ROOT = ../../../ |
29 DMN_CFLAGS = -I/usr/include/mps -g |
30 OBJ_DIR = $(BUILD_ROOT)build/ |
|
31 |
30 |
32 CFLAGS = -I/usr/include/mps -g |
31 $(DMN_OBJPRE)%.o: daemon/%.c |
33 LDFLAGS = |
32 cc -o $@ -c $(DMN_CFLAGS) $(CFLAGS) $< |
34 |
33 |
35 include objs.mk |
34 $(DMN_OBJPRE)%.o: daemon/%.cpp |
36 |
35 CC -o $@ -c $(DMN_CFLAGS) $(CFLAGS) $< |
37 all: $(DAEMONOBJS) |
|
38 |
|
39 $(DMN_OBJPRE)%.o: %.c |
|
40 cc -o $@ -c $(CFLAGS) $< |
|
41 |
|
42 $(DMN_OBJPRE)%.o: %.cpp |
|
43 CC -o $@ -c $(CFLAGS) $< |
|
44 |
36 |