aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2013-03-05 09:08:33 -0500
committermutantturkey <mutantturke@gmail.com>2013-03-05 09:08:33 -0500
commit63118697eed48dfebe1ec100610976cbff52d21c (patch)
tree4368b9f1b82e4e3f71e755c862271357e8bc51c6 /config.mk
parentc97bc755ffbfbc3fe755cf0144c3527abef2322d (diff)
Automatically set a default window size if unset
This resolves problems when the window manager does not set a default size. I noticed this while using KDE3's KWin. Previously it went unfixed because my main window manger always assigns a size. This should resolve the problem. * Added DEFAULT_WINDOW_WIDTH and DEFAULT_WINDOW_HEIGHT * DEFAULT_WINDOW_WIDTH = 600 * DEFAULT_WINDOW_HEIGHT = 800 * If either height or width is missing from the svte configuration in the users directory, use the defaults.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/config.mk b/config.mk
index 58b302f..e6b173a 100644
--- a/config.mk
+++ b/config.mk
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
# svte version:
VERSION = 0.1.4.1
@@ -28,20 +27,16 @@ MANPREFIX = ${PREFIX}/share/man
# includes and libs
-
GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte )
GTKLIB=-lvte
INCS = -I. -I/usr/include ${GTKINC}
LIBS = -L/usr/lib -lc ${GTKLIB}
+
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
CFLAGS = -mtune=native -std=gnu99 -O3 ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
-# Solaris
-#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
-#LDFLAGS = ${LIBS}
-
# compiler and linker
CC = cc