pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d5df4a
)
corrected include path for Debian derivatives (closes #46)
author
Michael Göhler
<somebody.here@gmx.de>
Wed, 15 Oct 2014 23:30:22 +0000
(
01:30
+0200)
committer
Michael Göhler
<somebody.here@gmx.de>
Wed, 15 Oct 2014 23:30:52 +0000
(
01:30
+0200)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
f41e99a
..
6615a0f
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-1,5
+1,5
@@
-#
-#
1 #
Makefile
+#
+# Makefile
# Copyright (C) 2014 Michael Goehler
#
# This file is part of mdp.
# Copyright (C) 2014 Michael Goehler
#
# This file is part of mdp.
@@
-34,6
+34,13
@@
ifeq ($(OS),Windows_NT)
endif
endif
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:
all: $(OBJECTS)
clean: