Skip to content

Commit

Permalink
Fix error in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
abbec committed May 14, 2024
1 parent 36b3a04 commit 2ac4437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ SOURCES = src/dged/binding.c src/dged/buffer.c src/dged/command.c src/dged/displ

MAIN_SOURCES = src/main/main.c src/main/cmds.c src/main/bindings.c src/main/search-replace.c src/main/completion.c

.if $(HAS_EPOLL) == true && !make(run-tests)
.if $(HAS_EPOLL) == true
MAIN_SOURCES += src/dged/reactor-epoll.c
.elif $(HAS_KQUEUE) == true && !make() && !make(run-tests)
.elif $(HAS_KQUEUE) == true
MAIN_SOURCES += src/dged/reactor-kqueue.c
.endif

Expand Down
2 changes: 1 addition & 1 deletion scripts/has_header
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
echo "#include <$1>" | cc -E - 2>&1 >/dev/null
echo "#include <$1>" | cc -E - >/dev/null 2>&1

0 comments on commit 2ac4437

Please sign in to comment.