summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8fe0fc5..0066b05 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ SETCAP ?= setcap
CFLAGS ?= -Wall -Wextra -O2 -g
ifneq ($(MAILBOX_PATH),)
- override CFLAGS += -DMAILBOX_PATH="$(MAILBOX_PATH)"
+ override CFLAGS += -DMAILBOX_PATH=\"$(MAILBOX_PATH)\"
endif
all: $(OBJDIR)/femtomail
@@ -19,7 +19,7 @@ $(OBJDIR)/femtomail: femtomail.c
ifeq ($(USERNAME),)
$(error USERNAME must be set and non-empty)
endif
- $(CC) -DUSERNAME="$(USERNAME)" $(CFLAGS) -o $(DESTDIR)$@ $<
+ $(CC) -DUSERNAME=\"$(USERNAME)\" $(CFLAGS) -o $(DESTDIR)$@ $<
clean:
$(RM) $(OBJDIR)/femtomail