From 29830daadc341626fdafb590a3cd4f9dc755d8b2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 9 Dec 2017 17:15:54 +0100 Subject: Fix makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bae4d19..1176ab8 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ include $(CONFIGFILE) all: vtchs -.o: - $(CC) -o $@ $^ $(LDFLAGS) +vtchs: vtchs.o + $(CC) -o $@ vtchs.o $(LDFLAGS) .c.o: $(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS) @@ -25,8 +25,9 @@ uninstall: -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/vtchs" clean: - -rm -f - vtchs *o + -rm -f -- vtchs *.o -.SUFFIXES: .o .c.o +.SUFFIXES: +.SUFFIXES: .o .c .PHONY: all install uninstall clean -- cgit v1.2.3-70-g09d2