Skip to content

Instantly share code, notes, and snippets.

@edenhill
Last active August 29, 2015 14:06
Show Gist options
  • Save edenhill/de786a98ec6e120020a4 to your computer and use it in GitHub Desktop.
Save edenhill/de786a98ec6e120020a4 to your computer and use it in GitHub Desktop.
mklove conditional SRCS
include Makefile.config
SRCS_$(WITH_MYOPTION) += myoption.c
SRCS = standard.c foo.c \
$(SRCS_y)
...
include mklove/Makefile.base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment