Permalink
Browse files

fix Makefile example compile problem

  • Loading branch information...
1 parent 31edeca commit 54817660b7ddf885ecd9b4f553e6f891400423c0 @lufeng1102 committed Feb 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -22,7 +22,7 @@ $(LIBFILE): $(OBJECTS)
$(AR) rcs $@ $(OBJECTS)
$(EXAMPLES): $(addprefix examples/,$(EXFILES)) $(LIBFILE)
- $(CXX) $(CPPFLAGS) -o $@ $< $(LIBFILE) $(LIBS)
+ $(CXX) $(CPPFLAGS) -o $@ examples/$@.cpp $(LIBFILE) $(LIBS)
clean:
rm -f $(OBJECTS) $(EXAMPLES) $(LIBFILE)

0 comments on commit 5481766

Please sign in to comment.