Commit a6a63d07 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Create lib dirs if needed

parent 793ddd0f
......@@ -99,6 +99,18 @@ release: $(CONSOLE_REL_TAR) $(CONTROLLER_REL_TAR)
release_console: $(CONSOLE_REL_TAR)
release_controller: $(CONTROLLER_REL_TAR)
lib:
@mkdir lib
common/lib:
@mkdir common/lib
controller/lib:
@mkdir controller/lib
console/console/lib:
@mkdir console/console/lib
DIR := .
SRCS :=
TARGETS :=
......@@ -119,14 +131,17 @@ endef
TARGETS:=
$(eval $(call SUBDIR,common))
common: $(TARGETS)
$(TARGETS): common/lib
TARGETS:=
$(eval $(call SUBDIR,controller))
controller: $(TARGETS)
$(TARGETS): controller/lib
TARGETS:=
$(eval $(call SUBDIR,console))
console: $(TARGETS)
$(TARGETS): console/console/lib
CFLAGS := -Icommon -Icommon/include -Icontroller -Iconsole/console -Iinclude
LDFLAGS := -Lcommon/lib -Lcontroller/lib -Lconsole/console/lib -Llib
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment