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

Side by Side Diff: ports/alut-demo/Makefile

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « ports/agg-demo/drawing.cc ('k') | ports/alut-demo/alut_hello_world.c » ('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) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 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 include $(NACL_SDK_ROOT)/tools/common.mk 5 include $(NACL_SDK_ROOT)/tools/common.mk
6 6
7 TARGET = alut-demo 7 TARGET = alut-demo
8 LIBS = alut openal ppapi_simple nacl_io ppapi_cpp ppapi 8 LIBS = alut openal
9 SOURCES = alut_hello_world.c 9 SOURCES = alut_hello_world.c
10 INSTALL_DIR = $(NACL_PACKAGES_PUBLISH)/$(TARGET)/$(TOOLCHAIN) 10 INSTALL_DIR = $(NACL_PACKAGES_PUBLISH)/$(TARGET)/$(TOOLCHAIN)
11 CFLAGS += -Wall -Werror 11 CFLAGS += -Wall -Werror
12 12
13 ifeq ($(TOOLCHAIN),pnacl) 13 ifeq ($(TOOLCHAIN),pnacl)
14 EXEEXT=.pexe 14 EXEEXT=.pexe
15 else 15 else
16 EXEEXT=.nexe 16 EXEEXT=.nexe
17 endif 17 endif
18 18
(...skipping 24 matching lines...) Expand all
43 cp $(OUTDIR)/$(TARGET)*$(EXEEXT) $(INSTALL_DIR) 43 cp $(OUTDIR)/$(TARGET)*$(EXEEXT) $(INSTALL_DIR)
44 cp $(OUTDIR)/$(TARGET).nmf $(INSTALL_DIR) 44 cp $(OUTDIR)/$(TARGET).nmf $(INSTALL_DIR)
45 ifeq ($(TOOLCHAIN),glibc) 45 ifeq ($(TOOLCHAIN),glibc)
46 cp -r $(OUTDIR)/lib* $(INSTALL_DIR) 46 cp -r $(OUTDIR)/lib* $(INSTALL_DIR)
47 endif 47 endif
48 cp index.html $(INSTALL_DIR) 48 cp index.html $(INSTALL_DIR)
49 ifeq ($(TOOLCHAIN),pnacl) 49 ifeq ($(TOOLCHAIN),pnacl)
50 cp $(OUTDIR)/$(TARGET)*.bc $(INSTALL_DIR) 50 cp $(OUTDIR)/$(TARGET)*.bc $(INSTALL_DIR)
51 sed -i.bak 's/x-nacl/x-pnacl/g' $(INSTALL_DIR)/index.html 51 sed -i.bak 's/x-nacl/x-pnacl/g' $(INSTALL_DIR)/index.html
52 endif 52 endif
OLDNEW
« no previous file with comments | « ports/agg-demo/drawing.cc ('k') | ports/alut-demo/alut_hello_world.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698