pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1137e63
)
fixed Makefile for cygwin build after #23
author
Michael Göhler
<somebody.here@gmx.de>
Mon, 22 Sep 2014 09:14:22 +0000
(11:14 +0200)
committer
Michael Göhler
<somebody.here@gmx.de>
Mon, 22 Sep 2014 09:14:22 +0000
(11:14 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
f0cf1ec
..
46ed432
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-25,11
+25,13
@@
CFLAGS := -O0 -Wall -g
LDFLAGS :=
endif
+OSTYPE := $(shell uname -o)
+CURSES = ncursesw
ifeq (Windows_NT, $(OS))
-CURSES = pdcurses
+ifneq (Cygwin, $(OSTYPE))
+CURSES := pdcurses
CFLAGS += -DWIN32=1
-else
-CURSES = ncursesw
+endif
endif
LDFLAGS = -s