misc: fixed potential build error in getSDLKey Makefile

This commit is contained in:
punkrockguy318 2011-10-23 05:24:08 +00:00
parent c04111675a
commit 434c91db38
1 changed files with 17 additions and 18 deletions

View File

@ -1,13 +1,12 @@
PREFIX = /usr
OUTFILE = getSDLKey
CC = gcc
CC = g++
OBJS = getSDLKey.o
LIBS = -lSDL
LIBS = $(shell sdl-config --cflags --libs)
all: ${OBJS}
${CC} -o ${OUTFILE} ${LIBS} ${OBJS}
${CC} -o ${OUTFILE} ${OBJS} ${LIBS}
clean:
rm -f ${OUTFILE} ${OBJS}