From 85bdc5b94c8a1730d3077f361297028cfd8b9b78 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 16 Sep 2018 20:17:57 +0200 Subject: MTK mt76 hwnat implementation --- package/ramips/applications/hwnat/src/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 package/ramips/applications/hwnat/src/Makefile (limited to 'package/ramips/applications/hwnat/src/Makefile') 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 + -- cgit v1.1