X-Git-Url: http://git.efficios.com/?p=deliverable%2Flttng-ivc.git;a=blobdiff_plain;f=lttng_ivc%2Fapps%2Flttng-ctl%2Fchannels_ctl%2FMakefile;fp=lttng_ivc%2Fapps%2Flttng-ctl%2Fchannels_ctl%2FMakefile;h=2cbe921b910271586330338e1a93520cc5e96558;hp=0000000000000000000000000000000000000000;hb=b84968566f2f36e2914002aaec9b1b4b84247b38;hpb=80586d0d106070ca47900edef774e4cbbbb002c9 diff --git a/lttng_ivc/apps/lttng-ctl/channels_ctl/Makefile b/lttng_ivc/apps/lttng-ctl/channels_ctl/Makefile new file mode 100644 index 0000000..2cbe921 --- /dev/null +++ b/lttng_ivc/apps/lttng-ctl/channels_ctl/Makefile @@ -0,0 +1,26 @@ +# Copyright (C) 2017 Jonathan Rajotte +# +# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED +# OR IMPLIED. ANY USE IS AT YOUR OWN RISK. +# +# Permission is hereby granted to use or copy this program for any +# purpose, provided the above notices are retained on all copies. +# Permission to modify the code and to distribute modified code is +# granted, provided the above notices are retained, and a notice that +# the code was modified is included with the above copyright notice. + +LIBS = -llttng-ctl +LOCAL_CPPFLAGS += -I. + +all: app + +.PHONY: app + +app: app.o + $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LIBS) + +app.o: app.c + $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(LTTNG_CPPFLAGS) $(CFLAGS) -c -o $@ $< + + +