aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 16:15:47 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 16:15:47 +0200
commit1590e7b0dc7e9848e060b7228a27d5309334d712 (patch)
tree00dde57f0be3755531abedec86dba2c47a923a01 /Makefile
parentChange license, rewrite in C, remove info manual, remove shell tab completion, misc (diff)
downloadbfind-1590e7b0dc7e9848e060b7228a27d5309334d712.tar.gz
bfind-1590e7b0dc7e9848e060b7228a27d5309334d712.tar.bz2
bfind-1590e7b0dc7e9848e060b7228a27d5309334d712.tar.xz
Improve makefile and silence false warning3.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0fc98f5..f756909 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ include $(CONFIGFILE)
all: bfind
bfind.o: bfind.c arg.h
- $(CC) -c -o $@ bfind.c $(CPPFLAGS) $(CFLAGS)
+ $(CC) -c -o $@ bfind.c $(CFLAGS) $(CPPFLAGS)
bfind: bfind.o
$(CC) -o $@ bfind.o $(LDFLAGS)
@@ -23,6 +23,6 @@ uninstall:
-rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/bfind.1"
clean:
- -rm -rf -- bfind *.o
+ -rm -rf -- bfind *.o *.su
.PHONY: all install uninstall clean