2 ms·
makefile.js notes // Special build system used for Halfix builds. Supports the following features: // - All built object files go in build/objs (no cluttering
by joshxyz 4y ago
makefile.js notes
// Special build system used for Halfix builds. Supports the following features:
// - All built object files go in build/objs (no cluttering src/)
// - Build multiple targets at once (i.e. switch between Emscripten and native
// builds without having to clean)
// - Parallel build (same as make -j)
// - Certain files can be conditionally built based on the target
// - Dependency resolution and conditional compilation (note: this is a bit
// buggy)
// - Automatic dependency regeneration (via redep)
// - Simple to use (no configuration, multi-platform, etc.)
// Usage:
// node makefile.js [target] [options]
// Omit "target" for default native build.
// Run with --help for options and target list.