diff options
author | Joern Engel <joern@logfs.org> | 2015-02-17 11:14:55 -0800 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2015-02-17 11:51:51 -0800 |
commit | 45e5408abdbb0574e2a7f2f5eb70db034269c6b5 (patch) | |
tree | d8897b4dbc81bb742722ba98b4352e332be288ed | |
parent | e3b0e34a3ea0cd91118345f9dca7242ad2083736 (diff) | |
download | cancd-45e5408abdbb0574e2a7f2f5eb70db034269c6b5.tar.gz |
Fix Makefile
clean target missed btree.o. And for some strange reason cancd fails to
compile on an older ubuntu system unless ld gets "-Wl,--no-as-needed"
passed in.
Signed-off-by: Joern Engel <joern@logfs.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ VERSION=0.2.0 CFLAGS += -Wall -g -O2 -DVERSION="\"$(VERSION)\"" -LDFLAGS += -lpthread +LDFLAGS += -Wl,--no-as-needed -lpthread -lrt cancd: cancd.o btree.o @@ -17,7 +17,7 @@ install: chmod 0755 $(DESTDIR)/etc/init.d/cancd clean: - rm cancd cancd.o + rm -f cancd cancd.o btree.o DIST_FILES = \ Makefile \ |