Skip to content

Commit

Permalink
Allow to run make from "main" and "parsers" sub-directories
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Apr 28, 2015
1 parent 1c2e2c1 commit 562eae6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all:
.SUFFIXES:
.SUFFIXES: .c .o

.c.o:
$(MAKE) -C .. main/$@
%:
$(MAKE) -C .. $@
8 changes: 8 additions & 0 deletions parsers/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all:
.SUFFIXES:
.SUFFIXES: .c .o

.c.o:
$(MAKE) -C .. parsers/$@
%:
$(MAKE) -C .. $@

0 comments on commit 562eae6

Please sign in to comment.