Permalink
Browse files

create ebin dir

  • Loading branch information...
1 parent 3f9d2b3 commit a65cfffc50801c09551b70d6bbd7a19e6b2c57dd Nicolas Niclausse committed Aug 19, 2009
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile.in
View
@@ -104,7 +104,7 @@ DIST_COMMON=Makefile.in $(CONFFILE) manderlbot.sh.in
.PHONY: doc
-manderlbot: Makefile config.status manderlbot.sh $(TARGET)
+manderlbot: Makefile config.status manderlbot.sh ebin $(TARGET)
all: clean manderlbot
@@ -122,6 +122,8 @@ deb:
debian/rules build
fakeroot debian/rules binary
+ebin:
+ mkdir ebin
clean:
-cd priv && rm -f $(shell ls priv | grep -v builder\.erl| grep -v CVS) && cd ..
-rm -f $(TARGET) $(TMP) $(BUILD_OPTIONS_FILE) builder.beam
@@ -224,6 +226,9 @@ snapshot:
builder.beam: priv/builder.erl
@$(CC) -W0 $(OPT) -I $(INC) $<
+ebin:
+ mkdir ebin
+
ebin/%.beam: src/lib/%.erl $(INC_FILES)
@echo "Compiling $< ... "
@$(CC) -W0 $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $<

0 comments on commit a65cfff

Please sign in to comment.