• R/O
  • HTTP
  • SSH
  • HTTPS

wtklite: Commit

A light-weight C++ object model framework Windows API Tool Kit


Commit MetaInfo

Revisionc1d1e3a25344fd39a9143c0c6947c61cd31a5bd4 (tree)
Zeit2013-08-19 22:20:37
AutorKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Log Message

Convert to one-shot C++ compilation with dependency tracking.

Ändern Zusammenfassung

Diff

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
11 2013-08-19 Keith Marshall <keithmarshall@users.sourceforge.net>
22
3+ Convert to one-shot C++ compilation with dependency tracking.
4+
5+ * Makefile.in (DEPFLAGS): Redefine; incorporate CPPFLAGS.
6+ (hsashctl.$OBJEXT vsashctl.$OBJEXT): Use it in place of CPPFLAGS.
7+ (%.$OBJEXT): Likewise; delete separate dependency tracking command.
8+
9+2013-08-19 Keith Marshall <keithmarshall@users.sourceforge.net>
10+
311 Add facility for activation of a running application window.
412
513 * wtkdefs.h: New file; it defines...
--- a/Makefile.in
+++ b/Makefile.in
@@ -11,7 +11,7 @@ VERSION = @PACKAGE_VERSION@
1111 # $Id$
1212 #
1313 # Written by Keith Marshall <keithmarshall@users.sourceforge.net>
14-# Copyright (C) 2012, MinGW.org Project.
14+# Copyright (C) 2012, 2013, MinGW.org Project.
1515 #
1616 # ---------------------------------------------------------------------------
1717 #
@@ -71,7 +71,7 @@ libwtklite.a: $(LIBWTK_OBJECTS)
7171
7272 # Compilation and dependency tracking...
7373 #
74-DEPFLAGS = -MM -MP -MD
74+DEPFLAGS = -MMD -MP $(CPPFLAGS)
7575 sinclude *.d
7676
7777 # Implementations for horizontal and vertical sash bar controls are
@@ -81,16 +81,15 @@ HSASH_IMPLEMENTATION = -D HSASH_IMPLEMENTATION ${srcdir}/sashctrl.cpp
8181 VSASH_IMPLEMENTATION = -D VSASH_IMPLEMENTATION ${srcdir}/sashctrl.cpp
8282
8383 hsashctl.$(OBJEXT): sashctrl.cpp sashctrl.o
84- $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $(HSASH_IMPLEMENTATION)
84+ $(CXX) -c $(DEPFLAGS) $(CXXFLAGS) -o $@ $(HSASH_IMPLEMENTATION)
8585
8686 vsashctl.$(OBJEXT): sashctrl.cpp sashctrl.o
87- $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $(VSASH_IMPLEMENTATION)
87+ $(CXX) -c $(DEPFLAGS) $(CXXFLAGS) -o $@ $(VSASH_IMPLEMENTATION)
8888
8989 # Other object modules may be implicitly compiled.
9090 #
9191 %.$(OBJEXT): %.cpp
92- $(CXX) $(DEPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $<
93- $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
92+ $(CXX) -c $(DEPFLAGS) $(CXXFLAGS) -o $@ $<
9493
9594 # Installation rules.
9695 #
Show on old repository browser