Remove mcpp submodule. Thanks to @h8liu for creating it
This commit is contained in:
parent
9185dd25e4
commit
85be27910a
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -4,6 +4,3 @@
|
||||||
[submodule "images"]
|
[submodule "images"]
|
||||||
path = images
|
path = images
|
||||||
url = https://github.com/copy/images/
|
url = https://github.com/copy/images/
|
||||||
[submodule "mcpp"]
|
|
||||||
path = mcpp
|
|
||||||
url = https://github.com/h8liu/mcpp
|
|
||||||
|
|
14
Makefile
14
Makefile
|
@ -1,20 +1,6 @@
|
||||||
CLOSURE=../closure-compiler/compiler.jar
|
CLOSURE=../closure-compiler/compiler.jar
|
||||||
BROWSER=chromium
|
BROWSER=chromium
|
||||||
|
|
||||||
CPP_VERSION := $(shell cpp --version 2>/dev/null)
|
|
||||||
|
|
||||||
# MacosX Hack :
|
|
||||||
# "cpp" doesn't work as expected on MacosX
|
|
||||||
# So we define mcpp as default, and cpp IF NOT "on MacosX" AND "CPP is defined"
|
|
||||||
UNAME_S := $(shell uname -s)
|
|
||||||
CPP=mcpp/src/mcpp -a -C -P
|
|
||||||
ifneq ($(UNAME_S),Darwin)
|
|
||||||
ifdef CPP_VERSION
|
|
||||||
CPP=cpp -P -undef -Wundef -std=c99 -nostdinc -Wtrigraphs -fdollars-in-identifiers -C
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
all: build/v86_all.js
|
all: build/v86_all.js
|
||||||
browser: build/v86_all.js
|
browser: build/v86_all.js
|
||||||
|
|
||||||
|
|
1
mcpp
1
mcpp
|
@ -1 +0,0 @@
|
||||||
Subproject commit ea453aca2742be6ac43ba4ce0da6f938a7e5a5d8
|
|
Loading…
Reference in a new issue