diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-08-15 18:55:51 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-08-15 18:55:51 +0000 |
commit | c754b185c9c1ea9842da75635d2d5e1a7f5d224e (patch) | |
tree | df2a658d01db0541af939862fac1dc7febaa53fd /package/maccalc/src/Makefile | |
parent | 98222400036c12c5359a7543977ee8b2b639c8ad (diff) |
package/maccalc: a simple mac address manipulation utility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28004 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/maccalc/src/Makefile')
-rw-r--r-- | package/maccalc/src/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/maccalc/src/Makefile b/package/maccalc/src/Makefile new file mode 100644 index 000000000..486badb25 --- /dev/null +++ b/package/maccalc/src/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -Wall +OBJS = main.o + +all: maccalc + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +maccalc: $(OBJS) + $(CC) -o $@ $(OBJS) + +clean: + rm -f maccalc *.o |