summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 8ad5b06..23ae801 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,7 @@
# so just remember to put all executables in the dist/ directory.
-dist/*
+build/*
.cache/*
tests/logs/*
bench/dist/*
diff --git a/Makefile b/Makefile
index d8c4ea4..7ab10e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC ?= gcc
AR ?= ar
-OUTDIR = dist
+OUTDIR = build
BENCH_OUT = $(OUTDIR)/bench
LIB = libtinyff.a
@@ -46,7 +46,7 @@ asan: clean $(OUTDIR)/$(LIB)
test-png: clean
$(MAKE) USE_HOSTED=1 debug
- $(CC) $(ALL_CFLAGS) $(DEBUG_FLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o $(OUTDIR)/png_test -Ldist -ltinyff && ./$(OUTDIR)/png_test
+ $(CC) $(ALL_CFLAGS) $(DEBUG_FLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o $(OUTDIR)/png_test -L$(OUTDIR) -ltinyff && ./$(OUTDIR)/png_test
test: test-png