fceux/fceux-server/Makefile

21 lines
386 B
Makefile
Raw Normal View History

2013-09-23 20:48:54 +00:00
PREFIX = /usr
OUTFILE = fceux-net-server
CC = g++
OBJS = server.o md5.o throttle.o
all: ${OBJS}
${CC} -o ${OUTFILE} ${OBJS}
clean:
rm -f ${OUTFILE} ${OBJS}
install:
install -m 755 -D fceux-net-server ${PREFIX}/bin/fceux-server
install -m 644 -D fceux-server.conf /etc/fceux-server.conf
server.o: server.cpp
md5.o: md5.cpp
throttle.o: throttle.cpp