Import Wii Motion Plus demo code
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user