From a1540e1d3953de354b04e4cea58c571f05a369d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Fri, 2 May 2014 14:41:32 -0400 Subject: [PATCH] pncal: clean up generated Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- src/pnacl_platform.nit | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/pnacl_platform.nit b/src/pnacl_platform.nit index ebbf3b6..e26747b 100644 --- a/src/pnacl_platform.nit +++ b/src/pnacl_platform.nit @@ -90,7 +90,6 @@ CXXFLAGS := -pthread -std=gnu++98 $(WARNINGS) GETOS := python $(NACL_SDK_ROOT)/tools/getos.py OSHELPERS = python $(NACL_SDK_ROOT)/tools/oshelpers.py OSNAME := $(shell $(GETOS)) -RM := $(OSHELPERS) rm PNACL_TC_PATH := $(abspath $(NACL_SDK_ROOT)/toolchain/$(OSNAME)_pnacl) PNACL_CXX := $(PNACL_TC_PATH)/bin/pnacl-clang @@ -104,28 +103,15 @@ LDFLAGS := -L$(NACL_SDK_ROOT)/lib/pnacl/Release -lppapi_cpp -lppapi CYGWIN ?= nodosfilewarning export CYGWIN - # Declare the ALL target first, to make the 'all' target the default build all: ../../{{{outname}}}/{{{app_name}}}.pexe -clean: - $(RM) {{{app_name}}}.pexe - {{{app_name}}}.pexe: src/{{{cfiles.join(" src/")}}} $(PNACL_CXX) -o $@ $^ -g -O0 $(CXXFLAGS) $(LDFLAGS) # For Debug # $(PNACL_CXX) -o $@ $^ -O3 $(CXXFLAGS) $(LDFLAGS) # For Release ../../{{{outname}}}/{{{app_name}}}.pexe: {{{app_name}}}.pexe $(PNACL_FINALIZE) -o $@ $< - -# -# Makefile target to run the SDK's simple HTTP server and serve this example. -# -HTTPD_PY := python $(NACL_SDK_ROOT)/tools/httpd.py - -.PHONY: serve -serve: all - $(HTTPD_PY) -C $(CURDIR) """.write_to_file(file) ### generate the minimal index.html -- 1.7.9.5