X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=0db1ec6f693cc66ae0edb768e8ba50b2e673be07;hb=9c733f930b7ccb7122c8dce8e9ee30b6da563568;hp=9c63e0a2b6789abc8b4647db57f8d799ebdcc996;hpb=58e6310354246773a7aecf1b4612eee088a4596b;p=smdp.git diff --git a/Makefile b/Makefile index 9c63e0a..0db1ec6 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,11 +20,11 @@ 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 = -PREFIX = /usr/local +PREFIX ?= /usr/local CURSES = ncursesw LDFLAGS ?= -s