X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=02ef0fc2b61ad71e394cb34c3bb367831d92f392;hb=4349c96187dcf97eedcbe7297379df42f705757e;hp=1d6f3ef5305f4a176c46f8b4567f00044e200d09;hpb=2d6cbed477085b8f9d144d80f06e23a331260197;p=smdp.git diff --git a/Makefile b/Makefile index 1d6f3ef..02ef0fc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # Makefile -# Copyright (C) 2015 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