X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=0db1ec6f693cc66ae0edb768e8ba50b2e673be07;hb=c3bcbda5c26b9234b6207b4c6fb85ab1565d9d0b;hp=9c63e0a2b6789abc8b4647db57f8d799ebdcc996;hpb=e51b855ccbe106c89063653e1f7e79b1a0a03887;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