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 PREFIX = /usr
OUTFILE = getSDLKey OUTFILE = getSDLKey
CC = gcc CC = g++
OBJS = getSDLKey.o OBJS = getSDLKey.o
LIBS = -lSDL LIBS = $(shell sdl-config --cflags --libs)
all: ${OBJS} all: ${OBJS}
${CC} -o ${OUTFILE} ${LIBS} ${OBJS} ${CC} -o ${OUTFILE} ${OBJS} ${LIBS}
clean: clean:
rm -f ${OUTFILE} ${OBJS} rm -f ${OUTFILE} ${OBJS}