File: platform-linux.mk

package info (click to toggle)
openmsx 0.8.2-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 15,796 kB
  • sloc: cpp: 124,615; xml: 22,614; tcl: 7,336; python: 3,789; asm: 1,154; sh: 69; makefile: 25
file content (19 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id: platform-linux.mk 11812 2010-12-11 17:39:57Z m9710797 $
#
# Configuration for Linux machines.

# Does platform support symlinks?
USE_SYMLINK:=true

# File name extension of executables.
EXEEXT:=

# In glibc the function clock_gettime() is defined in the librt library. In
# uClibc it's defined in libc itself. We should write a function that actually
# tests which library defines it. But as a temporary workaround/hack we figure
# out the linker flags based on the occurrence of the substring uclibc inside
# the compiler executable name (e.g. for Dingoo we don't need to link against
# librt).
ifeq (,$(findstring uclibc,$(CXX)))
	LINK_FLAGS:=-lrt
endif