X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=564466fda6f6be786dc02a152ceba96a0677cb73;hb=e3566c8aff14a38df8fee4af4336d57849995cfd;hp=9c63e0a2b6789abc8b4647db57f8d799ebdcc996;hpb=e51b855ccbe106c89063653e1f7e79b1a0a03887;p=smdp.git diff --git a/Makefile b/Makefile index 9c63e0a..564466f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # Makefile -# Copyright (C) 2015 Michael Goehler +# Copyright (C) 2016 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