-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmakefile
More file actions
77 lines (63 loc) · 3 KB
/
Copy pathmakefile
File metadata and controls
77 lines (63 loc) · 3 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
########################################################################
# Makefile for Oculus Rift CV1 camera viewer.
# Copyright (c) 1999-2019 Oliver Kreylos
#
# This file is part of the WhyTools Build Environment.
#
# The WhyTools Build Environment is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# The WhyTools Build Environment is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the WhyTools Build Environment; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
########################################################################
# Set directory containing Vrui's build system:
VRUI_MAKEDIR := /usr/local/share/Vrui-5.2/make
ifdef DEBUG
VRUI_MAKEDIR := $(VRUI_MAKEDIR)/debug
endif
# Include definitions for the system environment and system-provided
# packages
include $(VRUI_MAKEDIR)/SystemDefinitions
include $(VRUI_MAKEDIR)/Packages.System
include $(VRUI_MAKEDIR)/Packages.Vrui
include $(VRUI_MAKEDIR)/Configuration.Vrui
########################################################################
# Specifiy additional compiler and linker flags
########################################################################
########################################################################
# List common packages used by all components of this project
# (Supported packages can be found in $(VRUI_MAKEDIR)/Packages.*)
########################################################################
PACKAGES = MYVRUI MYGLGEOMETRY MYGLSUPPORT MYMATH MYUSB MYIO MYTHREADS MYREALTIME MYMISC
########################################################################
# Specify all final targets
# Use $(EXEDIR)/ before executable names
########################################################################
ALL = $(EXEDIR)/OculusRiftCV1CameraViewer
.PHONY: all
all: $(ALL)
########################################################################
# Specify other actions to be performed on a `make clean'
########################################################################
.PHONY: extraclean
extraclean:
.PHONY: extrasqueakyclean
extrasqueakyclean:
# Include basic makefile
include $(VRUI_MAKEDIR)/BasicMakefile
########################################################################
# Specify build rules for executables
########################################################################
$(EXEDIR)/OculusRiftCV1CameraViewer: $(OBJDIR)/OculusRiftCV1Camera.o \
$(OBJDIR)/OculusRiftCV1CameraViewer.o
.PHONY: OculusRiftCV1CameraViewer
OculusRiftCV1CameraViewer: $(EXEDIR)/OculusRiftCV1CameraViewer