1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
# Simple Makfile NAME = pyiw LIBS += -liw #static: pyiw.c # @echo "Statically Building/Linking $(NAME)" # @$(CC) $(CFLAGS) -Istaticlibiw $(<) -shared -o $(NAME).so staticlibiw/libiw.a dynamic: pyiw.c @echo "Dynamically Building/Linking $(NAME)" @$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) $(<) -shared -o $(NAME).so clean: @rm -rf *.o @rm -rf $(NAME).so @rm -rf $(NAME).so.t* git' href='https://git.multitech.net/cgit/openembedded-core.git' title='openembedded-core.git Git repository'/>