Skip to content

Commit

Permalink
rearranged .mk files (#40)
Browse files Browse the repository at this point in the history
Flags for the preload library moved from shellex.mk to preload/preload.mk.
  • Loading branch information
pseyfert committed Dec 25, 2016
1 parent 67601c7 commit 563d841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions preload/preload.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ ALL_TARGETS += preload/shellex_preload.so
INSTALL_TARGETS += install-shellex_preload
CLEAN_TARGETS += clean-shellex_preload

SHELLEX_CFLAGS=-fPIC
SHELLEX_PRELOAD_LDFLAGS=-shared
SHELLEX_PRELOAD_LDFLAGS += -shared
SHELLEX_PRELOAD_CFLAGS += -fPIC

preload/shellex_preload.so: preload/main.c
echo "[CC] $@"
Expand Down
3 changes: 0 additions & 3 deletions shellex.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ ALL_TARGETS += shellex
INSTALL_TARGETS += install-shellex
CLEAN_TARGETS += clean-shellex

SHELLEX_CFLAGS=-fPIC
SHELLEX_PRELOAD_LDFLAGS=-shared

shellex: shellex.in
echo "[SED] $@"
$(SED) $(sed_replace_vars) $< > $@
Expand Down

0 comments on commit 563d841

Please sign in to comment.