misc: fixed potential build error in getSDLKey Makefile
This commit is contained in:
parent
c04111675a
commit
434c91db38
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue