diff options
Diffstat (limited to 'tools/EventClients/Clients/WiiRemote/Makefile')
-rw-r--r-- | tools/EventClients/Clients/WiiRemote/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/EventClients/Clients/WiiRemote/Makefile b/tools/EventClients/Clients/WiiRemote/Makefile new file mode 100644 index 0000000..eba0f1e --- /dev/null +++ b/tools/EventClients/Clients/WiiRemote/Makefile @@ -0,0 +1,14 @@ +CXX ?= g++ +CFLAGS = -Wall -pipe -fPIC -funroll-loops +OBJ_DIR = release-$(shell $(CC) -v 2>&1|grep ^Target:|cut -d' ' -f2) +OBJS = wiiuse_v0.12/src/$(OBJ_DIR)/libwiiuse.so +BIN = WiiUse_WiiRemote +VERSION = v0.12 + +all: + @$(MAKE) -C wiiuse_$(VERSION)/src $@ + $(CXX) $(CFLAGS) -I./wiiuse_$(VERSION)/src WiiUse_WiiRemote.cpp $(OBJS) -o $(BIN) +wiiuse: + @$(MAKE) -C wiiuse_$(VERSION)/src +clean: + rm $(OBJS) $(BIN) |