Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (14 sloc) 0.318 kb
cc371876 » gdamjan
2009-12-14 Initial import to git
1 .SUFFIXES: .erl .beam .yrl
2
3 ERL_SRC := $(wildcard src/*.erl)
4 ERL_OBJ := $(patsubst src/%.erl,ebin/%.beam,${ERL_SRC})
5
fe2d3974 » gdamjan
2009-12-28 Auto compile mochiweb
6 all: main mochiweb
f3f6cbb7 » gdamjan
2009-12-21 Cosmetic changes to the Makefile, webserver.erl and game.html
7 main: ebin/ ${ERL_OBJ}
cc371876 » gdamjan
2009-12-14 Initial import to git
8
f3f6cbb7 » gdamjan
2009-12-21 Cosmetic changes to the Makefile, webserver.erl and game.html
9 ebin/:
cc371876 » gdamjan
2009-12-14 Initial import to git
10 @mkdir -p ebin
11
12 ebin/%.beam: src/%.erl
13 erlc -o `dirname $@` $<
14
fe2d3974 » gdamjan
2009-12-28 Auto compile mochiweb
15 mochiweb:
fac985d2 » gdamjan
2010-01-18 Replaced the mochiweb git submodule repository
16 (cd deps/mochiweb && make)
cc371876 » gdamjan
2009-12-14 Initial import to git
17
18 clean:
19 rm -rf ebin/
20 rm -f erl_crash.dump
21
22
Something went wrong with that request. Please try again.