Import Wii Motion Plus demo code

This commit is contained in:
2010-02-03 00:24:16 +00:00
commit 237b952e89
6 changed files with 492 additions and 0 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
# Makefile
CFLAGS+= -I/c/SDL-1.2.7/include/SDL -Wall -Werror
LDFLAGS+= -L/c/SDL-1.2.7/lib
LDLIBS+= -lmingw32 -lopengl32 -lglu32 -lSDLmain -mwindows -lSDL
OBJS= gltest.o i2c.o ioport.o
gltest: $(OBJS)
gltest.o: gltest.c i2c.h
i2c.o: i2c.h ioport.h
ioport.c: ioport.h
clean:
rm -f $(OBJS) gltest.exe stdout.txt