Skip to content

Commit

Permalink
Create necessary build-product directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyg committed May 14, 2009
1 parent dacb64f commit 7c68991
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Expand Up @@ -37,10 +37,17 @@ install: all
install -m 755 priv/bin/* $(FULL_INSTALL_DIR)/priv/bin
install -m 644 src/* $(FULL_INSTALL_DIR)/src

ebin/%.beam: src/%.erl
ebin/%.beam: src/%.erl ebin
erlc -o ebin $<

priv/bin/serial: $(OBJECT_FILES)
ebin:
mkdir -p ebin

priv/bin:
mkdir -p priv/bin

priv/bin/serial: $(OBJECT_FILES) priv/bin
mkdir -p priv/bin
$(CC) -o $@ $(LDFLAGS) $(OBJECT_FILES) $(LDLIBS)

clean:
Expand Down

0 comments on commit 7c68991

Please sign in to comment.