
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22369 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
155 B
Makefile
14 lines
155 B
Makefile
OBJ = devmem2.o
|
|
|
|
all: compile
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
compile: $(OBJ)
|
|
$(CC) -o devmem2 $(LDFLAGS) $(OBJ)
|
|
|
|
clean:
|
|
rm -f *.o *.so devmem2
|
|
|