icmake(1) icmake(1) (NAME) icmake - (make) C (SYNOPSIS) icmake option(s) [source [dest]] [args] (DESCRIPTION) Icmake(1) make(1) . icmake C . : o ICMAKE V. 13.00.00 12.03.00 icmake o (OPTIONS) icmake o ICMAKE (EXECUTING ICMAKE SCRIPTS) icmake o ICM-DEP icm-dep o ICM-MULTICOMP icm-multicomp o ICM-SPCH icm-spch o ICM-UN icm-un o (FILES) icmake ( ) o (EXAMPLES) o (SEE ALSO) icmake : o icmstart(1) (C++ C) o icmbuild(1) icmake o icmscript(7) icmake icmake . Icmake ( C ) () . icmake . Icmake (IDE) . Icmake (icmstart icmbuild) icmake . icmbuild(1) icmake : o icm-comp icmake o icm-dep o icm-exec icmake o icm-multicomp () o icm-pp icmake o icm-spch () (SPCH). icmake : o icmodmap C++ (.. icmodmap(1)) o icm-un icmake ( <>). icm-un --unassemble -u icmake ( ICM-UN ). make . C++ . icmbuild(1) ( #define USE_ALL, SPCH / PRECOMP icmconf icmconf(7) ). ICMAKE V. 13.00.00 13.00.00 icmake 12.03.00 : o --all (-a) icm-spch --list, --precompile --soft-link . . ICM-SPCH . o () icmake --spch ( -S) . o ( ) #ifndef SPCH_ spch icm-spch noifndef.cc support/ icmake #ifndef SPCH_ .ih o icmake --source icmake .bim o icmun icm-un ( icmake --unassemble (-u) ). o icmconf(7) -o #define SPCH . ( ) -o <<-o word>> icm-spch o C++ ICMAKE_CXXFLAGS . ICMAKE_CPPSTD . C++ o ( ) <> icmake <> . o icmake . (OPTIONS) . Icmake <<>> (action) <<>> (non-action) . . icmbuild(1) icmake icmake . o --about (-a) icmake o --compile (-c) [options] source [bim-file] icmake ( --preprocess ) icm-comp bim-file . bim-file source .bim . source -P . : icmake -c -P source dest.bim bim-file source source o --dependencies (-d) [options] action icm-dep . icm-dep . icm-dep ICM-DEP o --execute (-e) [option] bim-file [arguments] bim . bim-file --no-version-check ( -n) icmake icmake bim . bim-file main bim ( icmake icmscript(7) ) o --force (-f) [options] source [bim-file] --compile bim o --help (-h) icmake . icmake o --multicomp (-m) [options] jobs 'compiler-spec' options icm-multicomp (.. ICM-MULTICOMP ). #define MULTICOMP icmconf(7) : o --no-process (-N) --verbose ( ). --dependencies, --execute, --source -t ( -Ne). () o --no-version-check (-n) --execute, --source, --unassemble -t . icm-bim icmake . o --preprocess (-p) [options] source [pim-file] <<.pim>> . .pim . .pim . : source . : icmake -p -d one --define two source dest.pim icmake source one two ( ) pim dest.pim . --define -d o --spch (-S) ... SPCH . --spch icm-spch (.. ICM-SPCH ). #define SPCH icmconf(7) : SPCH o --source (-s) [options] source [arguments] Icmake --compile icmake ( bim) --execute bim arguments main bim . --source --compile icmake . --execute . --execute -e . : icmake -s -d one -en source icmake source one bim --no-version-check icm-exec o -t tmpspec [options] source [arguments] icmake icmake . -t ( ICMAKE) . o --tmpdir=directory (-T) /tmp (${HOME}) /tmp/ . --tmpdir ( -T) icmake () . main.im icmake . ~/.icmake icmake : icmake -T ~/.icmake -c main.im o --unassemble (-u) bim icmake (.. ICM-UN bim) o --verbose (-V) Icmake . (-c, -d, -e, -s -u) -Ve. o --version (-v) icmake . ICMAKE (EXECUTING ICMAKE SCRIPTS) -t icmake . icmake : o (shebang #!) icmake o -t ( ) : o ( --source ) o ( :) icmake o main icmake icm <> ~/bin : #!/usr/bin/icmake -t. -d one : two --dir three void main(int argc, list argv) { #ifdef one printf << "one is defined\n"; #endif printf << argc << " arguments: " << argv << '\n'; } ~/bin/args four five four five two --dir three . ( .bim ): one is defined /tmp/F04dgh two --dir three four five -t -t icmake (/dir /dir/sub1/sub2 ): o (-t.) bim () icmake ( /tmp $HOME) o ~/dir /dir icmake ~ $HOME o ~/dir/name /dir/name [~]/dir/name .bim .bim . .bim ( <> ). .bim icmake . ICM-DEP Icm-dep icmake --dependencies ( -d) . icmbuild(1) icmconf #define SPCH icmake -d SPCH icmake -S ( ) . Icmake -d : icmake -d [options] argument -d icm-dep . -d : o --classes=filename (-c) icm-dep CLASSES . icmconf(7) PARSER_DIR / SCANNER_DIR . icm-dep . o --gch icmconf () #define PRECOMP icmake -d . icmconf #define PRECOMP --gch o --help (-h) icm-dep icmake 0 o --icmconf=filename (-i) icmake -d icmconf . icmconf o --mainih=mainheader (-m) icmconf #define IH CLASSES . CLASSES . . main.ih o --no-gch icmconf () #define PRECOMP icmake -d --no-gch o --no-use-all #define USE_ALL "filename" icmconf (.. icmconf(7)) o --use-all=filename filename ( ) o --verbose (-V) . icmake -d . icmake -d . ( ) go o --version (-v) Icmake -d icm-dep 0 . go icmake -d . << >> (dry run) : . Icmake -d C++ Annotations (Header file organization) (Classes) . . (internal header) .ih . ICM-MULTICOMP Icmake . icmbuild(1) icmconf #define MULTICOMP (.. icmconf(7)) . icmconf --multicomp ( -m) icmake . Icmake -m : icmake -m [options] arguments Icmake -m : o --help (-h) Icmake -m 0 o --nr (-n) --nr . o --quiet (-q) . . o --threads=nThreads (-t) . --threads 5. o --version (-v) Icmake -m 0 . Icmake -m : o . icmbuild(1) . : : support tmp/o 5 ( : support) () ( . ) ( : tmp/o) ( ) ( : 5) . ( () ) . ( ) o . ( ): g++ -c -o $2 ${ICMAKE_CPPSTD} --Wall -Werror $1 $1 $2 . ICMAKE_CPPSTD ( C++ ICMAKE_CPPSTD=--std=c++26) ${ICMAKE_CPPSTD} . icmake -m : 'g++ -c -o $2 '${ICMAKE_CPPSTD}' --Wall -Werror $1' f:file file ( $1 $2 $ICMAKE_CPPSTD ). PATH . ICM-SPCH (SPCH) icmake --spch ( -S) . Icmake -S : icmake -S [options] arguments Icmake -S : o --all=file (-a) --list, --precompile --soft-links icm -S ( ) file --list --precompile --soft-links o --classes=filename (-c) filename --list ( CLASSES). --no-topdir o --help (-h) Icmake -S 0 o --internal=.ext (-i) .ext ( ). .ih o --list (-l) --all . SPCH icmake -S . ( spch) o --no-topdir (-n) . o --precompile=file (-p) file ( --list) SPCH icmake -S. / SPCH 'argument'file.gch . SPCH ( ): g++ -c -o $2 ${ICMAKE_CPPSTD} -Wall -Werror -O2 -x c++-header $1 $1 (<>) $2 SPCH $ICMAKE_CPPSTD ICMAKE_CPPSTD ( C++ ICMAKE_CPPSTD=--std=c++26). SPCH : 'g++ -c -o $2 '${ICMAKE_CPPSTD}' -Wall -Werror -O2 -x c++-header $1' f:file file SPCH ( $1 $2 $ICMAKE_CPPSTD ). PATH . o --soft-links=file (-s) --all . --precompile . .gch file SPCH o --unused=regex (-u) (POSIX extended) regex icmake -S . (...)|(...) . f:file o --version (-v) Icmake -S 0 o --warn (-w) . icm-spch . Icmake -S --list, --precompile soft-links . . . SPCH : . ( ) SPCH ( ) . SPCH icmbuild(1) . icmconf #define SPCH "" (.. icmconf(7)). ICM-UN icm-un icmake -u bim . bim . icmake -c demo.im : void main() { printf << "hello world\n"; } demo.bim icmake -u demo.bim : icm-un by Frank B. Brokken (f.b.brokken@rug.nl) icm-un V12.04.00 Copyright (c) GPL 1992-2024. NO WARRANTY. Binary file statistics: strings at offset 0x0025 variables at offset 0x0033 filename at offset 0x0033 code at offset 0x0014 first opcode at offset 0x0021 String constants dump: [0025 (0000)] "" [0026 (0001)] "hello world." Disassembled code: [0014] 06 01 00 push string "hello world." [0017] 05 01 00 push int 0001 [001a] 1b 1d callrss 1d (printf) [001c] 1c 02 add sp, 02 [001e] 04 push int 0 [001f] 24 pop reg [0020] 23 ret [0021] 21 14 00 call [0014] [0024] 1d exit bim . (dump) . (opcodes) .im . . (mnemonic) ( ) . (FILES) . : : o /usr/bin/icmake: icmake o /usr/bin/icmbuild: icmbuild o /usr/bin/icmodmap: C++ o /usr/bin/icmstart: icmake : o /usr/libexec/icmake/icm-comp: icmake o /usr/libexec/icmake/icm-dep: o /usr/libexec/icmake/icm-exec: o /usr/libexec/icmake/icm-multicomp: o /usr/libexec/icmake/icm-pp: icmake o /usr/libexec/icmake/icm-spch: SPCH o /usr/libexec/icmake/icm-un: icmake. (EXAMPLES) ( /usr/share/doc/icmake) examples icmake . icmstart icmake /usr/libexec/icmake/icmbuild /usr/bin/icmbuild . (EXAMPLES) icmscript(7) . (SEE ALSO) chmod(1), icmbuild(1), icmconf(7), icmodmap(1), icmscript(7), icmstart(1), icmstart.rc(7), make(1) (BUGS) . (COPYRIGHT) (GPL) . (AUTHORS) Frank B. Brokken (f.b.brokken@rug.nl). icmake.13.00.03 1992-2025 icmake(1)