diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-01-03 12:04:58 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-01-03 12:04:58 +0100 |
commit | 008d0be72b2f160382c6e880765e96b64a050c65 (patch) | |
tree | 36f48a98a3815a408e2ce1693dd182af90f80305 /release/src/router/bridge/brctl/Makefile | |
parent | 611becfb8726c60cb060368541ad98191d4532f5 (diff) | |
download | tomato-008d0be72b2f160382c6e880765e96b64a050c65.tar.gz tomato-008d0be72b2f160382c6e880765e96b64a050c65.tar.bz2 |
imported original firmware WRT54GL_v4.30.11_11_US
Diffstat (limited to 'release/src/router/bridge/brctl/Makefile')
-rw-r--r-- | release/src/router/bridge/brctl/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/release/src/router/bridge/brctl/Makefile b/release/src/router/bridge/brctl/Makefile new file mode 100644 index 00000000..9d15ea39 --- /dev/null +++ b/release/src/router/bridge/brctl/Makefile @@ -0,0 +1,36 @@ +# +# $Id: Makefile,v 1.1.1.4 2003/10/14 08:09:37 sparq Exp $ + +CFLAGS = -Wall -g -O2 -I../libbridge +LDFLAGS = -g +ifeq ($(strip $(DOSTATIC)),true) + LDFLAGS += --static +endif + +all: brctl brctld + +brctl: brctl.o brctl_cmd.o brctl_disp.o ../libbridge/libbridge.a + $(CC) $(LDFLAGS) -o brctl brctl.o brctl_cmd.o brctl_disp.o ../libbridge/libbridge.a + +brctld: brctld.o brctl_cmd.o brctl_disp.o ../libbridge/libbridge.a + $(CC) $(LDFLAGS) -o brctld brctld.o brctl_cmd.o brctl_disp.o ../libbridge/libbridge.a + +clean: + rcsclean * + rm -f *~ + rm -f *.o + rm -f brctl + rm -f brctld + rm -f core + +brctl.o: brctl.c brctl.h + $(CC) $(CFLAGS) -c -o brctl.o brctl.c + +brctld.o: brctld.c brctl.h + $(CC) $(CFLAGS) -c -o brctld.o brctld.c + +brctl_cmd.o: brctl_cmd.c brctl.h + $(CC) $(CFLAGS) -c -o brctl_cmd.o brctl_cmd.c + +brctl_disp.o: brctl_disp.c brctl.h + $(CC) $(CFLAGS) -c -o brctl_disp.o brctl_disp.c |