config file
This commit is contained in:
parent
7ca58c594d
commit
fb4400f08f
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ LFLAGS=-lncursesw
|
||||
DFLAGS=-g -O0 -v -da -Q
|
||||
|
||||
OBJ=ste.o fbuffer.o
|
||||
DEPS=fbuffer.h
|
||||
DEPS=fbuffer.h config.h
|
||||
|
||||
ste: $(OBJ)
|
||||
$(CC) $(CFLAGS) $(OFLAGS) $(LFLAGS) -o $@ $^
|
||||
|
6
config.h
Normal file
6
config.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _CONFIG_H_
|
||||
#define _CONFIG_H_
|
||||
|
||||
#define TABSIZE 4 // Tab size as used in render
|
||||
|
||||
#endif
|
@ -1,4 +1,5 @@
|
||||
#include "fbuffer.h"
|
||||
#include "config.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
@ -1,8 +1,6 @@
|
||||
#ifndef _FBUFFER_H_
|
||||
#define _FBUFFER_H_
|
||||
|
||||
#define TABSIZE 4 // Tab size as used in render
|
||||
|
||||
/* Row structure, defines actual and
|
||||
* render chars, actual and render size
|
||||
* and difference between render and
|
||||
|
Loading…
Reference in New Issue
Block a user