fceux/fceux-server/Makefile

21 lines
413 B
Makefile
Raw Permalink Normal View History

PREFIX ?= /usr
2013-09-23 20:48:54 +00:00
OUTFILE = fceux-net-server
CXX ?= g++
2013-09-23 20:48:54 +00:00
OBJS = server.o md5.o throttle.o
all: ${OBJS}
${CXX} ${CXXFLAGS} -o ${OUTFILE} ${OBJS} ${LDFLAGS}
2013-09-23 20:48:54 +00:00
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