Skip to content

jdarge/lle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structure

.
├── build
│   ├── bin
│   │   └── lle
│   └── cmake
├── CMakeLists.txt
├── driver.c
├── include
│   ├── builtin.h
│   ├── def.h
│   ├── print.h
│   ├── sbrk.h
│   ├── string.h
│   └── system.h
├── README.md
├── run.sh
└── src
    ├── print.c
    ├── sbrk.c
    ├── string.c
    └── system.c

Commands

$ ./run.sh [build/make]
$ ./run.sh rebuild
$ ./run.sh clean
$ ./run.sh

Make sure to set the run file to be executable.

$ chmod +x run.sh

./run make/build :

Both do the same thing.
They run CMakeList.txt and then the Makefile generated by CMake.

$ ./run.sh make
$ ./run.sh build

./run rebuild :

Deletes previously generated files and then runs CMake and Make

$ ./run.sh rebuild

./run clean :

Removes the build/ directory.

$ ./run.sh clean

./run :

If there is binary executable inside of build/bin it will run it.
If there isn't, it will run the build commands for you...

$ ./run.sh

Chaining ./run :

Generally while modifying the source code, you should rebuild the project and rerun the executable file.

$ ./run.sh rebuild; ./run.sh

About

low level experiments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published