summaryrefslogtreecommitdiff
path: root/package/ramips/applications/hwnat/src/Makefile
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 20:17:57 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 20:17:57 +0200
commit85bdc5b94c8a1730d3077f361297028cfd8b9b78 (patch)
treea6835c355fde8ce9f36c808dbb9b50809d3c77f4 /package/ramips/applications/hwnat/src/Makefile
parent6e0004f572f23810c21d5fb4477d8b9347dffdbb (diff)
downloadmtk-20170518-85bdc5b94c8a1730d3077f361297028cfd8b9b78.zip
mtk-20170518-85bdc5b94c8a1730d3077f361297028cfd8b9b78.tar.gz
mtk-20170518-85bdc5b94c8a1730d3077f361297028cfd8b9b78.tar.bz2
MTK mt76 hwnat implementationHEADmtk-20170518
Diffstat (limited to 'package/ramips/applications/hwnat/src/Makefile')
-rwxr-xr-xpackage/ramips/applications/hwnat/src/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/ramips/applications/hwnat/src/Makefile b/package/ramips/applications/hwnat/src/Makefile
new file mode 100755
index 0000000..c19b166
--- /dev/null
+++ b/package/ramips/applications/hwnat/src/Makefile
@@ -0,0 +1,24 @@
+EXEC = hwnat acl ac mtr
+
+HWNAT_OBJS = hw_nat.o hwnat_api.o util.o
+AC_OBJS = ac.o ac_api.o util.o
+ACL_OBJS = acl.o acl_api.o util.o
+MTR_OBJS = mtr.o mtr_api.o util.o
+
+all: $(EXEC)
+
+hwnat: $(HWNAT_OBJS) $(CONF_H)
+ $(CC) $(LDFLAGS) -o $@ $(HWNAT_OBJS)
+
+acl: $(ACL_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(ACL_OBJS)
+
+ac: $(AC_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(AC_OBJS)
+
+mtr: $(MTR_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(MTR_OBJS)
+
+clean:
+ -rm -f $(EXEC) *.elf *.gdb *.o
+