Skip to content

Commit

Permalink
add Makefile module including a function to change the linking syntax
Browse files Browse the repository at this point in the history
for libaries
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jun 23, 2016
1 parent dc275e5 commit 187099e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ endif
endif

include config/abspathx.mk
include config/libsyntax.mk
include $(patsubst %, %/module.mk, $(MODULES))

ifneq ($(MAKECMDGOALS),clean)
Expand Down
1 change: 1 addition & 0 deletions config/libsyntax.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libsyntax = $(foreach name,$(filter %$(2),$(1)),-L$(dir $(name)) -l$(patsubst lib%.a,%,$(notdir $(name)))) $(filter-out %$(2),$(1))

0 comments on commit 187099e

Please sign in to comment.