File: Makefile

package info (click to toggle)
direwolf 1.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,376 kB
  • ctags: 3,887
  • sloc: ansic: 48,436; sh: 180; perl: 170; makefile: 28; python: 11
file content (16 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Select proper Makefile for operating system.
# The Windows version is built with the help of Cygwin. 

# In my case, I see CYGWIN_NT-6.1-WOW so we don't check for 
# equal to some value.   Your mileage my vary.

win := $(shell uname | grep CYGWIN)
dar := $(shell uname | grep Darwin)

ifneq ($(win),)
   include Makefile.win
else ifeq ($(dar),Darwin)
   include Makefile.macosx
else
   include Makefile.linux
endif