[packages] add devmem2
[openwrt/svn-archive/archive.git] / utils / devmem2 / src / Makefile
1 OBJ = devmem2.o
2
3 all: compile
4
5 %.o: %.c
6 $(CC) $(CFLAGS) -c -o $@ $<
7
8 compile: $(OBJ)
9 $(CC) -o devmem2 $(LDFLAGS) $(OBJ)
10
11 clean:
12 rm -f *.o *.so devmem2
13