egs/Makefile

30 lines
837 B
Makefile
Raw Normal View History

# EGS: Erlang Game Server
# Copyright (C) 2010 Loic Hoguin
#
# This file is part of EGS.
#
# EGS is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# EGS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with EGS. If not, see <http://www.gnu.org/licenses/>.
all: server
server: deps
2010-07-18 17:25:44 +08:00
@./rebar compile
deps:
@./rebar get-deps
clean:
2010-07-18 17:25:44 +08:00
@./rebar clean
rm -f erl_crash.dump