fceux/branches/sdl2/fceux-server/Makefile

21 lines
386 B
Makefile

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