#include #include #include #include #include #include int main(int argc, char **argv) { /* if (argc < 2) { printf("usage: build.exe \n"); return -1; } */ system("yasm.exe -U INCLUDE_BIN -o z.exe z.asm"); system("gzip -9 < z.exe > tmp.$$$.gz"); system("yasm -D INCLUDE_BIN -o z.exe z.asm"); system("del tmp.$$$.gz"); return 0; }