X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2FMakefile;h=6615a0f3cc2011332181156e22382068337838b2;hb=8fd813163c03d7bfbc2ffd8b6aeb2d1c576db1e4;hp=f41e99ab58a9baf0b1b2ab335d6377ec4e6b0f89;hpb=4d5df4a6945caa39cc5295021182d643066febb6;p=smdp.git diff --git a/src/Makefile b/src/Makefile index f41e99a..6615a0f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ -# -# 1 # Makefile +# +# Makefile # Copyright (C) 2014 Michael Goehler # # This file is part of mdp. @@ -34,6 +34,13 @@ ifeq ($(OS),Windows_NT) endif endif +ifeq ($(UNAME_S),Linux) + LSB_RELEASE := $(shell lsb_release -si 2>/dev/null || echo not) + ifneq ($(filter $(LSB_RELEASE),Debian Ubuntu LinuxMint),) + CFLAGS += -I/usr/include/ncursesw + endif +endif + all: $(OBJECTS) clean: