File: Makefile-manual

package info (click to toggle)
hidapi 0.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: ansic: 7,756; cpp: 408; makefile: 175; objc: 72; sh: 57
file content (26 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26


OS=$(shell uname)

ifeq ($(OS), Darwin)
	FILE=Makefile.mac
endif

ifneq (,$(findstring MINGW,$(OS)))
	FILE=Makefile.mingw
endif

ifeq ($(OS), Linux)
	FILE=Makefile.linux
endif

ifeq ($(OS), FreeBSD)
	FILE=Makefile.freebsd
endif

ifeq ($(FILE), )
all:
	$(error Your platform ${OS} is not supported at this time.)
endif

include $(FILE)