comparison makefile @ 11:9b0840b0be7e

cache done.
author pyon@macmini
date Sun, 23 Oct 2011 07:43:34 +0900
parents 1fda3a06c39b
children f3463815c2c9
comparison
equal deleted inserted replaced
10:1fda3a06c39b 11:9b0840b0be7e
1 # 1 #
2 # Makefile for wxWidgets Application 2 # Makefile for wxWidgets Application
3 # Last Change: 21-Oct-2011. 3 # Last Change: 22-Oct-2011.
4 # by Takayuki Mutoh 4 # by Takayuki Mutoh
5 # 5 #
6 6
7 # Program Name 7 # Program Name
8 PROGNAME = mover2 8 PROGNAME = mover2
96 $(PROGNAME): $(OBJ) 96 $(PROGNAME): $(OBJ)
97 $(CXX) $^ -o $@ $(LIBS) 97 $(CXX) $^ -o $@ $(LIBS)
98 endif 98 endif
99 99
100 100
101 $(OBJDIR)/main.o: main.cpp main.h myframe.h common.h testframe.cpp 101 $(OBJDIR)/main.o: main.cpp main.h myframe.h common.h cache.h
102 -mkdir -p $(OBJDIR) 102 -mkdir -p $(OBJDIR)
103 $(CXX) -c $< -o $@ $(CPPFLAGS) 103 $(CXX) -c $< -o $@ $(CPPFLAGS)
104 104
105 $(OBJDIR)/myframe.o: myframe.cpp myframe.h common.h main.h marksheet.h dndfile.h cache.h 105 $(OBJDIR)/myframe.o: myframe.cpp myframe.h common.h main.h marksheet.h dndfile.h
106 $(CXX) -c $< -o $@ $(CPPFLAGS) 106 $(CXX) -c $< -o $@ $(CPPFLAGS)
107 107
108 $(OBJDIR)/param.o: param.cpp param.h common.h main.h 108 $(OBJDIR)/param.o: param.cpp param.h common.h main.h
109 $(CXX) -c $< -o $@ $(CPPFLAGS) 109 $(CXX) -c $< -o $@ $(CPPFLAGS)
110 110