Skip to content

Commit

Permalink
Makefile: Define prefix variables in CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Oct 23, 2015
1 parent fa41df3 commit 3fb861d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ CFLAGS += -DMXQ_VERSION=\"${MXQ_VERSION}\"
CFLAGS += -DMXQ_VERSIONFULL=\"${MXQ_VERSIONFULL}\"
CFLAGS += -DMXQ_VERSIONDATE=\"${MXQ_VERSIONDATE}\"
CFLAGS += -DMXQ_VERSIONEXTRA=\"${MXQ_VERSIONEXTRA}\"
CFLAGS += -DPREFIX=\"${PREFIX}\"
CFLAGS += -DEPREFIX=\"${EPREFIX}\"
CFLAGS += -DSBINDIR=\"${SBINDIR}\"
CFLAGS += -DBINDIR=\"${BINDIR}\"
CFLAGS += -DLIBDIR=\"${LIBDIR}\"
CFLAGS += -DLIBEXECDIR=\"${LIBEXECDIR}\"
CFLAGS += -DDATADIR=\"${DATADIR}\"
CFLAGS += -DMANDIR=\"${MANDIR}\"
CFLAGS += -DSYSCONFDIR=\"${SYSCONFDIR}\"
CFLAGS += $(EXTRA_CFLAGS)

########################################################################
Expand Down

0 comments on commit 3fb861d

Please sign in to comment.