X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=02ef0fc2b61ad71e394cb34c3bb367831d92f392;hb=4349c96187dcf97eedcbe7297379df42f705757e;hp=15fd54caa7d905cb001a48754eff8ca682d8a7ce;hpb=d697dc5138fe93ed9d0316ddf41de6c12b05683d;p=smdp.git diff --git a/Makefile b/Makefile index 15fd54c..02ef0fc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # Makefile -# Copyright (C) 2016 Michael Goehler +# Copyright (C) 2018 Michael Goehler # # This file is part of mdp. # @@ -20,7 +20,7 @@ UNAME_S := $(shell uname -s 2>/dev/null || echo not) -SOURCES = $(wildcard src/*.c) +SOURCES = $(sort $(wildcard src/*.c)) OBJECTS = $(SOURCES:.c=.o) TARGET = mdp DESTDIR = @@ -65,6 +65,7 @@ install: install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 uninstall: - $(RM) $(DESTDIR)$(PREFIX)/$(TARGET) + $(RM) $(DESTDIR)$(PREFIX)/bin/$(TARGET) + $(RM) $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 .PHONY: all clean install src uninstall