Skip to content

Commit

Permalink
Moved middleware into src/middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 7, 2009
1 parent 50ce29d commit 1329dcd
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
@@ -1,5 +1,6 @@
all:
(cd src;$(MAKE))
(cd src/middleware;$(MAKE))
(cd deps/erlydtl/src;$(MAKE))
(cd deps/mochiweb/src;$(MAKE))
(cd deps/ewgi;$(MAKE))
Expand Down
12 changes: 12 additions & 0 deletions src/middleware/Makefile
@@ -0,0 +1,12 @@

INCLUDE_DIRS := ../../include
EBIN_DIR := ../
include ../../support/include.mk

all: $(EBIN_FILES_NO_DOCS)

debug:
$(MAKE) DEBUG=-DDEBUG

clean:
rm -rf $(EBIN_FILES_NO_DOCS)
9 changes: 9 additions & 0 deletions src/middleware/Makefile~
@@ -0,0 +1,9 @@
include ../../support/include.mk

all: $(EBIN_FILES_NO_DOCS)

debug:
$(MAKE) DEBUG=-DDEBUG

clean:
rm -rf $(EBIN_FILES_NO_DOCS)
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions support/include.mk
Expand Up @@ -6,7 +6,7 @@
ERL := erl
ERLC := $(ERL)c

INCLUDE_DIRS := ../include $(wildcard ../deps/*/include)
INCLUDE_DIRS := $(INCLUDE_DIRS) ../include $(wildcard ../deps/*/include)
EBIN_DIRS := $(wildcard ../deps/*/ebin)
ERLC_FLAGS := -W $(INCLUDE_DIRS:../%=-I ../%) $(EBIN_DIRS:%=-pa %)

Expand All @@ -18,7 +18,7 @@ ifdef debug
ERLC_FLAGS += -Ddebug
endif

EBIN_DIR := ../ebin
EBIN_DIR := $(EBIN_DIR)../ebin
DOC_DIR := ../doc
EMULATOR := beam

Expand Down

0 comments on commit 1329dcd

Please sign in to comment.