Fix makefile
This commit is contained in:
parent
df3059f120
commit
f6eaf81d8c
2 changed files with 3 additions and 4 deletions
6
Makefile
6
Makefile
|
@ -8,11 +8,11 @@ BINDIR = $(PREFIX)/bin
|
||||||
|
|
||||||
CFLAGS = -O3 -march=native -mtune=native -pipe -s -flto -std=c99 -pedantic -Wall
|
CFLAGS = -O3 -march=native -mtune=native -pipe -s -flto -std=c99 -pedantic -Wall
|
||||||
|
|
||||||
SRC = src/*.c config.h
|
SRC != find src -name *.c
|
||||||
INCLUDE = include
|
INCLUDE = include
|
||||||
|
|
||||||
$(TARGET): $(SRC)
|
$(TARGET): $(SRC) config.h
|
||||||
$(CC) $(SRC) -o $@ $(CFLAGS) -I$(INCLUDE) -I.
|
$(CC) $(SRC) config.h -o $@ $(CFLAGS) -I$(INCLUDE) -I.
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
mkdir -p $(TARGET)-$(VERSION)
|
mkdir -p $(TARGET)-$(VERSION)
|
||||||
|
|
1
src/io.c
1
src/io.c
|
@ -96,7 +96,6 @@ void save_file()
|
||||||
|
|
||||||
void process_key()
|
void process_key()
|
||||||
{
|
{
|
||||||
|
|
||||||
int c = read_key();
|
int c = read_key();
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '\r':
|
case '\r':
|
||||||
|
|
Loading…
Reference in a new issue