Include lttng-ctl apps for liblttng-ctl testing
[deliverable/lttng-ivc.git] / lttng_ivc / apps / lttng-ctl / events_ctl / Makefile
CommitLineData
b8496856
JR
1# Copyright (C) 2017 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
2#
3# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
4# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
5#
6# Permission is hereby granted to use or copy this program for any
7# purpose, provided the above notices are retained on all copies.
8# Permission to modify the code and to distribute modified code is
9# granted, provided the above notices are retained, and a notice that
10# the code was modified is included with the above copyright notice.
11
12LIBS = -llttng-ctl
13LOCAL_CPPFLAGS += -I.
14
15all: app
16
17.PHONY: app
18
19app: app.o
20 $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LIBS)
21
22app.o: app.c
23 $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(LTTNG_CPPFLAGS) $(CFLAGS) -c -o $@ $<
24
25
26
This page took 0.024229 seconds and 5 git commands to generate.