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
|
||||
|
||||
SRC = src/*.c config.h
|
||||
SRC != find src -name *.c
|
||||
INCLUDE = include
|
||||
|
||||
$(TARGET): $(SRC)
|
||||
$(CC) $(SRC) -o $@ $(CFLAGS) -I$(INCLUDE) -I.
|
||||
$(TARGET): $(SRC) config.h
|
||||
$(CC) $(SRC) config.h -o $@ $(CFLAGS) -I$(INCLUDE) -I.
|
||||
|
||||
dist:
|
||||
mkdir -p $(TARGET)-$(VERSION)
|
||||
|
|
1
src/io.c
1
src/io.c
|
@ -96,7 +96,6 @@ void save_file()
|
|||
|
||||
void process_key()
|
||||
{
|
||||
|
||||
int c = read_key();
|
||||
switch (c) {
|
||||
case '\r':
|
||||
|
|
Loading…
Reference in a new issue