From d520a505cd5e3c7864ee9de72cb1674e102bbbd6 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 5 May 2020 20:37:32 -0500 Subject: added ability to set library-specific paths --- src/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 5803a1a..398aaa8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,12 +2,19 @@ PREFIX:=/usr/local/ -BASE_CFLAGS=-g -Wall -pedantic -std=c99 -ffast-math -I$(PREFIX)/include +### if you didn't install them after building, you can still point at them directly. +### right now, the header, and shared library are in their base dir, not lib or include subdirs. +LIBIDC_LIB_PATH:=$(PREFIX)/lib +LIBIDC_INCLUDE_PATH:=$(PREFIX)/include +LIBHASHTABLE_LIB_PATH:=$(PREFIX)/lib +LIBHASHTABLE_INCLUDE_PATH:=$(PREFIX)/include + +BASE_CFLAGS=-g -Wall -pedantic -std=c99 -ffast-math -I$(PREFIX)/include -I$(LIBIDC_INCLUDE_PATH) -I$(LIBHASHTABLE_INCLUDE_PATH) CFLAGS+=$(BASE_CFLAGS) CFLAGS+=-DGRAPHICAL -LDFLAGS+=-L$(PREFIX)/lib +LDFLAGS+=-L$(PREFIX)/lib -L$(LIBIDC_LIB_PATH) -L$(LIBHASHTABLE_LIB_PATH) #all: hackvr_headless hackvr_x11 hackvr_opengl slowcat ### when hackvr_opengl gets useful at all I'll start including it in default build. all: hackvr_fb hackvr_xdie hackvr_headless hackvr_x11 slowcat nonblocktail -- cgit v1.2.3 From 7a8410dd0f819d0d723fb7c4edf09ef0e8dc489c Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 5 May 2020 20:38:09 -0500 Subject: changed default size of window to 1024x768 --- src/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/config.h b/src/config.h index 53b1dba..8017254 100644 --- a/src/config.h +++ b/src/config.h @@ -17,9 +17,9 @@ #define PERIODIC_OUTPUT 100 #define MAX_SIDES 8 #define MAXWIDTH 4000 -#define WIDTH 320 +#define WIDTH 1024 #define MAXHEIGHT 3000 -#define HEIGHT 240 +#define HEIGHT 768 #define DEFAULT_MINIMAP 0 #define FORCE_REDRAW 0 -- cgit v1.2.3