summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 14f15ab..ae3eee8 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ CC=clang --std=c11
AR=ar ruvcs
CFLAGS=-Wall -Wextra -Werror -Weverything -pedantic
-LIBS=-lform -lncurses -lm
+LIBS=-lncurses -lform -lm
BLDFLAGS=-g
RELFLAGS=-O2
@@ -30,7 +30,7 @@ $(OBJ): $(HEAD)
$(LOBJ): $(LHEAD)
%.o: %.c
- $(CC) -o ./src/$@ -c $< $(CFLAGS)
+ $(CC) -o $@ -c $< $(CFLAGS)
$(TARGET): $(OBJ) $(LIB)
$(CC) -o $@ $(OBJ) $(LIB) $(LIBS) $(BLDFLAGS)