Mercurial > mercurial > hgweb_mpos.cgi
diff Makefile @ 1:254045a265e0 default tip
Fix Makefile.
author | pyon@macmini |
---|---|
date | Fri, 25 Apr 2014 06:02:21 +0900 |
parents | 6235b9a84d53 |
children |
line wrap: on
line diff
--- a/Makefile Mon Apr 21 20:44:57 2014 +0900 +++ b/Makefile Fri Apr 25 06:02:21 2014 +0900 @@ -1,5 +1,5 @@ # Makefile for wxWidgets Application -# Last Change: 21-Apr-2014. +# Last Change: 25-Apr-2014. # by Takayuki Mutoh # @@ -42,9 +42,13 @@ all: $(EXECUTABLE) - +ifdef COMSPEC $(PROGNAME): $(OBJMSW) $(CXX) $^ -o $@ $(LIBS) +else +$(PROGNAME): $(OBJ) + $(CXX) $^ -o $@ $(LIBS) +endif $(OBJDIR)/main.o: main.cpp main.h myframe.h