diff --git a/src/sbbs3/scfg/Makefile b/src/sbbs3/scfg/Makefile index 62227bad5e943534603bccda2f7a0d8ce83b9e7b..82a33c00dba6b130518213dedbc612f01e6b8905 100644 --- a/src/sbbs3/scfg/Makefile +++ b/src/sbbs3/scfg/Makefile @@ -23,7 +23,7 @@ UIFC = ..\..\uifc LIB = ..\..\..\lib INCLUDE = ..\..\..\include CFLAGS = -DSCFG -M -I..;$(UIFC);$(XPDEV) -DELETE = echo y | del +DELETE = -@echo y | del .path.c = .;..;$(UIFC);$(XPDEV) .path.cpp = $(UIFC) @@ -44,7 +44,7 @@ EXEODIR = $(EXEODIR).debug !else EXEODIR = $(EXEODIR).release !endif -LIBODIR = $(EXEODIR) +LIBODIR = $(EXEODIR) # Cross platform/compiler definitions !include targets.mk # defines all targets @@ -69,7 +69,7 @@ OBJS = $(OBJS) $(EXEODIR)\uifcfltk.$(OFILE) $(LIB)/fltk/win32/fltk.lib .cpp.$(OFILE): @$(CC) $(CFLAGS) -n$(EXEODIR) -c $< -# Create output directories if they don't exist +# Create output directory if it doesn't exist $(EXEODIR): @if not exist $(EXEODIR) mkdir $(EXEODIR) @@ -83,3 +83,7 @@ $(SCFGHELP): $(OBJS) $(MAKEHELP) $(SCFG): $(OBJS) @echo Linking $@ @$(CC) $(CFLAGS) -e$@ $** + +clean: + @echo Deleting $(EXEODIR) + $(QUIET)$(DELETE) $(EXEODIR)\*