File: Platform.x86

package info (click to toggle)
openni2 2.2.0.33%2Bdfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 22,232 kB
  • sloc: cpp: 111,183; ansic: 35,511; sh: 10,542; python: 1,313; java: 952; makefile: 575; xml: 12
file content (23 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# some defaults
export GLUT_SUPPORTED=1

ifndef SSE_GENERATION
	SSE_GENERATION = 0
endif

ifeq ("$(OSTYPE)","Darwin")
	# Making the binary a universal one (x86 + x64)
	CFLAGS += -arch i386 -arch x86_64
	LDFLAGS += -arch i386 -arch x86_64
endif

ifeq ($(SSE_GENERATION), 2)
	CFLAGS += -msse2
else
	ifeq ($(SSE_GENERATION), 3)
		CFLAGS += -msse3
		ifeq ($(SSSE3_ENABLED), 1)
			CFLAGS += -mssse3
		endif
	endif
endif