projects
/
lttng-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
37303c7
)
Add makefile target for preprocessor
author
Francis Giraldeau
<francis.giraldeau@gmail.com>
Thu, 10 May 2012 15:53:20 +0000
(11:53 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Thu, 10 May 2012 15:53:20 +0000
(11:53 -0400)
By specifying .i target, it runs gcc preprocessor for that file.
Example:
make myfile.i
will read myfile.c and output preprocessor to myfile.i
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index dfa0792bf2484afc3f6f0d34cce9b336b9b3286b..d06e6764119d4acd0d49745be0ac8a2c4445b5b2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-55,4
+55,6
@@
modules_install:
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+%.i: %.c
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) $@
endif
This page took
0.02631 seconds
and
4
git commands to generate.