Below is the file 'Makefile' from this revision. You can also download the file.

# 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