diff --git a/Makefile b/Makefile index 75a8fc8..8752343 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,6 @@ script.js: mv sr9.wasm _site/sr9.wasm sr9.wasm: - cd src - emcc sr9.c + emcc src/sr9.c touch sr9.wasm touch sr9.js diff --git a/src/sr9.c b/src/sr9.c index ade45c7..1d14b5a 100644 --- a/src/sr9.c +++ b/src/sr9.c @@ -1,4 +1,4 @@ -#include "proj.h" +#include "src/proj.h" #include int main(void) { diff --git a/tsconfig.json b/tsconfig.json index 373a9be..c5efa76 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "es2015", "module": "es2015", "lib": ["es2015", "dom"], "strict": true,