misc: fixed potential build error in getSDLKey Makefile
This commit is contained in:
parent
c04111675a
commit
434c91db38
|
@ -1,18 +1,17 @@
|
||||||
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} ${OBJS} ${LIBS}
|
||||||
${CC} -o ${OUTFILE} ${LIBS} ${OBJS}
|
|
||||||
|
clean:
|
||||||
clean:
|
rm -f ${OUTFILE} ${OBJS}
|
||||||
rm -f ${OUTFILE} ${OBJS}
|
|
||||||
|
install:
|
||||||
install:
|
install -m 755 -D getSDLKey ${PREFIX}/bin/getSDLKey
|
||||||
install -m 755 -D getSDLKey ${PREFIX}/bin/getSDLKey
|
|
||||||
|
getSDLKey.o = getSDLKey.cpp
|
||||||
getSDLKey.o = getSDLKey.cpp
|
|
||||||
|
|
Loading…
Reference in New Issue