Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: examples/audio/openal-ogg/Makefile

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build_tools/common.sh ('k') | examples/audio/openal-ogg/nacl-openal-ogg.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 # 4 #
5 # Build OpenAL/ogg demo with Pepper in C 5 # Build OpenAL/ogg demo with Pepper in C
6 6
7 NACLPORTS_ROOT ?= ../../.. 7 NACLPORTS_ROOT ?= ../../..
8 PUBLISH_DIR = $(NACLPORTS_ROOT)/out/publish/openal-ogg 8 PUBLISH_DIR = $(NACLPORTS_ROOT)/out/publish/openal-ogg
9 CFLAGS += -O3 -std=gnu99 -Werror -I${NACL_SDK_ROOT}/include 9 CFLAGS += -O3 -std=gnu99 -Werror -I${NACL_SDK_ROOT}/include
10 LIBS += -lppapi -lopenal -lvorbisfile -lvorbis -logg -lm -lpthread 10 LIBS += -lppapi -lopenal -lvorbisfile -lvorbis -logg -lm -lpthread
11 11
12 all: publish 12 all: publish
13 13
14 openal_ogg_$(NACL_ARCH).nexe: openal_ogg.c ogg_buffer_reader.c 14 openal_ogg_$(NACL_ARCH).nexe: openal_ogg.c ogg_buffer_reader.c
15 » $(NACLCC) -o $@ $^ $(CFLAGS) $(LIBS) 15 » $(NACLCC) -o $@ $^ $(CFLAGS) $(LDFLAGS) $(LIBS)
16 16
17 publish: openal_ogg_$(NACL_ARCH).nexe openal_ogg.html openal_ogg.nmf sample.ogg 17 publish: openal_ogg_$(NACL_ARCH).nexe openal_ogg.html openal_ogg.nmf sample.ogg
18 mkdir -p $(PUBLISH_DIR) 18 mkdir -p $(PUBLISH_DIR)
19 cp $^ $(PUBLISH_DIR) 19 cp $^ $(PUBLISH_DIR)
20 20
21 clean: 21 clean:
22 rm -f *.o *.nexe 22 rm -f *.o *.nexe
23 23
OLDNEW
« no previous file with comments | « build_tools/common.sh ('k') | examples/audio/openal-ogg/nacl-openal-ogg.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698