changeset 159:1b6bc8bf6ac3

Create win32/ subdirectory if needed.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 03 Nov 2010 13:36:35 +0200
parents a06d27141c26
children d3c78f2ef77b
files Makefile.gen Makefile.w32
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Wed Nov 03 13:28:22 2010 +0200
+++ b/Makefile.gen	Wed Nov 03 13:36:35 2010 +0200
@@ -6,7 +6,7 @@
 #
 NNCHAT_BIN=$(BINPATH)nnchat$(EXEEXT)
 
-TARGETS=$(NNCHAT_BIN)
+TARGETS+=$(NNCHAT_BIN)
 
 
 #
--- a/Makefile.w32	Wed Nov 03 13:28:22 2010 +0200
+++ b/Makefile.w32	Wed Nov 03 13:36:35 2010 +0200
@@ -24,5 +24,9 @@
 OBJPATH=./win32/
 BINPATH=./win32/
 #BINPATH=/misc/wine_c/
+TARGETS=$(OBJPATH)
 
 include Makefile.gen
+
+$(OBJPATH):
+	mkdir $@