Commits

Anonymous committed b2ab133

make targets for output dirs

Comments (0)

Files changed (1)

 
 default: all
 
-localdirs:
+
+$(LIB_DIR):
 	install -d $(LIB_DIR)
+
+$(EBIN_DIR): 
 	install -d $(EBIN_DIR)
 
+localdirs: $(LIB_DIR) $(EBIN_DIR)
+
 all: localdirs $(LIB_TARGETS) $(BEAM_TARGETS) $(APP_TARGETS)
 
 $(SRC_DIR)/%.o: $(SRC_DIR)/%.cc
 	rm -rf $(LIB_DIR)
 	rm -rf $(EBIN_DIR)
 
-.PHONY: clean erl
+.PHONY: all clean erl localdirs