-# $Id: GNUmakefile,v 1.1 2007/01/07 07:51:12 mmondor Exp $
+# $Id: GNUmakefile,v 1.2 2007/01/07 09:26:43 mmondor Exp $
CC := cc
RM := rm
SDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs)
-SDL_LDFLAGS += -lSDL_image -lSDL_mixer
+SDL_LDFLAGS += -lSDL_image -lSDL_mixer -lSDL_ttf
# OS dependent settings follow
OS := $(shell $(UNAME) -s)
-/* $Id: main.c,v 1.2 2007/01/07 09:21:30 mmondor Exp $ */
+/* $Id: main.c,v 1.3 2007/01/07 09:26:43 mmondor Exp $ */
/*
* Copyright (c) 2006, Matthew Mondor
while (!main_quit) {
SDL_Event ev;
+ (void) SDL_WaitEvent(NULL);
while (SDL_PollEvent(&ev)) {
switch (ev.type) {
case SDL_QUIT: