Fix examples: add missing CPPFLAGS
[lttng-ust.git] / doc / examples / easy-ust / Makefile
index 304632bb3f37fff275173449998a169d1b5d7244..e20e53a959074da42c701a1b497f39bd5b6a3bf3 100644 (file)
@@ -42,10 +42,10 @@ sample: sample.o tp.o
        $(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
 
 sample.o: sample.c sample_component_provider.h
-       $(CC) $(CFLAGS) -c -o $@ $<
+       $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
 
 tp.o: tp.c sample_component_provider.h
-       $(CC) $(CFLAGS) -c -o $@ $<
+       $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
 
 html: sample_component_provider.html sample.html tp.html
 
This page took 0.022712 seconds and 4 git commands to generate.