changeset 20:39f9f1c7618c

fix makefile.
author pyon@macmini
date Thu, 21 Jul 2011 05:38:27 +0900
parents 710be7b6a873
children eb3f5c7c990f
files makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Mon Jul 18 22:08:04 2011 +0900
+++ b/makefile	Thu Jul 21 05:38:27 2011 +0900
@@ -1,6 +1,6 @@
 #
 # Makefile for wxWidgets Application
-#  Last Change: 13-Jul-2011.
+#  Last Change: 19-Jul-2011.
 #  by Takayuki Mutoh
 #
 
@@ -102,6 +102,7 @@
 endif
 
 $(OBJDIR)/main.o: main.cpp main.h myframe.h common.h
+	-mkdir $(OBJDIR)
 	$(CXX) -c $< -o $@ $(CPPFLAGS)
 
 $(OBJDIR)/myframe.o: myframe.cpp myframe.h symbol.h common.h