Use for loop to iterate.
[smdp.git] / Makefile
index f922b7e..7f17a1b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,9 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 #
 
-OSTYPE  := $(shell uname -o)
 CURSES   = ncursesw
 ifeq (Windows_NT, $(OS))
+OSTYPE  := $(shell uname -o)
 ifneq (Cygwin, $(OSTYPE))
 CURSES  := pdcurses
 endif
@@ -57,4 +57,3 @@ uninstall:
        $(RM) $(PREFIX)$(DESTDIR)/$(TARGET)
 
 .PHONY: all clean install src uninstall
-