Skip to content

marshhj/rollc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollc

Rollup .h .c .cpp files to one file. Depend cosmopolitan. Can run cross platform.
Like nuklear build script. But that use python.

Build

Just use cosmopolitan method to build main.c.

Windows

Here provide a build.bat for windows to build.You can edit the build file and change the gcc path or other.
On windows you would download the cross9.zip (x86_64-linux-gnu static binaries for windows (355mb)) to build it.

Linux

Just build with gcc.

Use

If you don't want to build yourself. Just run the build/rollc.com file.

rollc 
  -r join to roll files.
  -o output file.
  -c config file, default rollc.txt
  -h header files, copy first.

Thanks!

About

Rollup .h .c .cpp files to one file. Use Cosmopolitan.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages