summaryrefslogtreecommitdiff
path: root/netfilter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'netfilter/Makefile')
-rw-r--r--netfilter/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/netfilter/Makefile b/netfilter/Makefile
new file mode 100644
index 0000000..02d4e87
--- /dev/null
+++ b/netfilter/Makefile
@@ -0,0 +1,25 @@
+#############################################################################
+# Copyright (c) 2013 Linaro
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Linaro <linaro-dev@lists.linaro.org>
+#############################################################################
+
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -O2 -g
+NLEXE = nl-listener
+Q = @
+
+$(NLEXE): nl.c
+ @echo -ne "\tCC\t"
+ @echo $<
+ $(Q)$(CC) $(CFLAGS) -I. -o $@ $<
+
+clean:
+ @echo -ne "\tRM\t"
+ @echo $(NLEXE)
+ $(Q)$(RM) $(NLEXE)