Skip to content

Commit

Permalink
added Makefile to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
in4lio committed Mar 30, 2019
1 parent b99716b commit a18653b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
@@ -0,0 +1,18 @@
LIB := source/ev3
EXAMPLES := $(wildcard eg/*/.)

.PHONY: default all clean build-lib $(LIB) $(EXAMPLES)

default: all

all: build-lib $(EXAMPLES)

clean: $(LIB) $(EXAMPLES)

build-lib: $(LIB)
$(MAKE) -C $(LIB) install
$(MAKE) -C $(LIB) shared
$(MAKE) -C $(LIB) shared-install

$(LIB) $(EXAMPLES):
$(MAKE) -C $@ $(MAKECMDGOALS)

0 comments on commit a18653b

Please sign in to comment.