Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Move compile options to Emakefile; simplify Makefile.

  • Loading branch information...
commit be1aa9646dcd1d8746dde849854cec3fa8792094 1 parent e632698
Tim Fletcher authored

Showing 2 changed files with 5 additions and 15 deletions. Show diff stats Hide diff stats

  1. +1 1  Emakefile
  2. +4 14 Makefile
2  Emakefile
... ... @@ -1 +1 @@
1   -{"src/*", [debug_info, {outdir, "ebin"}, {i, "include"}]}.
  1 +{"src/*", [debug_info, warn_unused_vars, warn_unused_import, {outdir, "ebin"}]}.
18 Makefile
... ... @@ -1,17 +1,7 @@
1   -SOURCE_FILES := $(wildcard src/*.erl)
2   -
3   -
4   -all: ebin
5   -
6   -ebin: ebin/oauth.app $(SOURCE_FILES:src/%.erl=ebin/%.beam)
7   -
8   -ebin/oauth.app: src/oauth.app
9   - @test -d ebin || mkdir ebin
10   - cp src/oauth.app ebin/oauth.app
11   -
12   -ebin/%.beam: src/%.erl
  1 +all:
13 2 @test -d ebin || mkdir ebin
14   - erlc -W +debug_info -o ebin $<
  3 + @cp src/oauth.app ebin/
  4 + @erl -make
15 5
16 6 clean:
17   - @rm -rf ebin erl_crash.dump
  7 + @rm -rf ebin/* erl_crash.dump

0 comments on commit be1aa96

Please sign in to comment.
Something went wrong with that request. Please try again.