Skip to content

Instantly share code, notes, and snippets.

@hempnall
Created June 8, 2019 11:00
Show Gist options
  • Save hempnall/c5693eadff1d89f4784eb51766459186 to your computer and use it in GitHub Desktop.
Save hempnall/c5693eadff1d89f4784eb51766459186 to your computer and use it in GitHub Desktop.
Make - filter-out function
MYLIST = one two three one two three
YOURLIST = $(filter-out two, $(MYLIST) )
all:
echo $(YOURLIST)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment