summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-11-20 19:41:02 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-11-20 19:41:02 +0000
commit0f8c499be65eda3215c55512c2c9d420a771e463 (patch)
tree1fea2f30677eaff168125d55ce68f8f3ff021b7b /extensions
parent4a721befc49711833623d0fc5f4bf0ac7034fcc7 (diff)
new compile method
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 097e9a3..7ff9cd4 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -6,7 +6,8 @@ EXT_OBJS+=$(foreach T,$(EXT_FUNC), extensions/ebt_$(T).o)
EXT_OBJS+=$(foreach T,$(EXT_TABLES), extensions/ebtable_$(T).o)
extensions/ebt_%.o: extensions/ebt_%.c include/ebtables_u.h
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) -c -o $@ $< -I$(KERNEL_INCLUDES)
+
extensions/ebtable_%.o: extensions/ebtable_%.c
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) -c -o $@ $< -I$(KERNEL_INCLUDES)