aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile.after6
-rw-r--r--makefile.before4
-rw-r--r--xorg-server/hw/xwin/xlaunch/makefile2
3 files changed, 8 insertions, 4 deletions
diff --git a/makefile.after b/makefile.after
index 5324decca..600343e3e 100644
--- a/makefile.after
+++ b/makefile.after
@@ -48,9 +48,9 @@ $(EXE) : $(OBJS) $(INCLUDELIBFILES) $(RESOBJS) $(MANIFESTFILE)
endif # End WINAPP or TTYAPP stuff
ifeq ($(DEBUG),1)
-COMMONCFLAGS += $(DEFINES:%=-D%) $(INCLUDES:%=-I"%") -Fo"$(relpath $@)" -Fd"$(PDB)" "$<"
+COMMONCFLAGS += $(DEFINES:%=-D%) $(INCLUDES:%=-I%) -Fo$(relpath $@) -Fd"$(PDB)" $<
else
-COMMONCFLAGS += $(DEFINES:%=-D%) $(INCLUDES:%=-I"%") -Fo"$(relpath $@)" "$<"
+COMMONCFLAGS += $(DEFINES:%=-D%) $(INCLUDES:%=-I%) -Fo$(relpath $@) $<
PDB= # There is no PDB file generated in a release build
endif
@@ -76,7 +76,7 @@ $(OBJDIR)\%$(OBJEXT) : %.cc
$(CC) $(CCFLAGS) /EHsc $(COMMONCFLAGS)
$(OBJDIR)\%.res : %.rc
- $(RC) $(RCFLAGS) $(RCDEFINES:%=-d "%") $(RCINCLUDES:%=-i "%") -Fo"$(relpath $@)" "$<"
+ $(RC) $(RCFLAGS) $(RCDEFINES:%=-d "%") $(RCINCLUDES:%=-i %) -Fo$(relpath $@) $<
ifdef INC_BDF_RULES
load_makefile $(MHMAKECONF)\bdftopcf\makefile MAKESERVER=0 DEBUG=$(DEBUG)
diff --git a/makefile.before b/makefile.before
index df6d084e2..851625e7e 100644
--- a/makefile.before
+++ b/makefile.before
@@ -1,3 +1,7 @@
+ifndef DEBUG
+DEBUG=0
+endif
+
default: all
.PHONY : default
diff --git a/xorg-server/hw/xwin/xlaunch/makefile b/xorg-server/hw/xwin/xlaunch/makefile
index 345357d92..63b37dd1b 100644
--- a/xorg-server/hw/xwin/xlaunch/makefile
+++ b/xorg-server/hw/xwin/xlaunch/makefile
@@ -18,7 +18,7 @@ WINAPP = xlaunch
RESOURCES = resources.rc
$(OBJDIR)\%.res : resources\%.rc
- $(RC) $(RCFLAGS) $(RCDEFINES:%=-d "%") $(RCINCLUDES:%=-i "%") -Fo"$(relpath $@)" "$<"
+ $(RC) $(RCFLAGS) $(RCDEFINES:%=-d "%") $(RCINCLUDES:%=-i %) -Fo$(relpath $@) $<
LIBDIRS=$(dir $(INCLUDELIBFILES))