42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
# Init projects! <!-- omit in toc -->
|
|
|
|
- [C](#c)
|
|
- [C++](#c-1)
|
|
- [Typescript](#typescript)
|
|
|
|
## C
|
|
|
|
Copy and paste [`c/`](./c/) directory, and you should be good to go!
|
|
|
|
- Remember to change executable's name in the [`Makefile`](./c/Makefile).
|
|
- **Run `make` to compile the program.**
|
|
- **Run `make dev` to compile the program in debug mode.**
|
|
- **Run `make clean` to clean artifacts.**
|
|
|
|
> Note that in headers, the syntax is `PROJETNAME_FILENAME_H`
|
|
|
|
## C++
|
|
|
|
Copy and paste [`cpp/`](./cpp/) directory, and you should be good to go!
|
|
|
|
- Remember to change executable's name in the [`Makefile`](./cpp/Makefile).
|
|
- **Run `make` to compile the program.**
|
|
- **Run `make dev` to compile the program in debug mode.**
|
|
- **Run `make clean` to clean artifacts.**
|
|
|
|
> Note that in headers, the syntax is `PROJETNAME_FILENAME_HPP`
|
|
|
|
## Typescript
|
|
|
|
Copy and paste [`typescript/`](./typescript/) directory, and you should be good to go!
|
|
|
|
- Remember to change values in the [`package.json`](./typescript/package.json).
|
|
- Then, to install all the dependencies, run `npm install`.
|
|
- To check if there is any new update for dependencies, run `npm outdated`, makes
|
|
changes accordingly to run the latest version, you may need to run `npm update`
|
|
to apply the updates after the modification of [`package.json`](./typescript/package.json).
|
|
- **Run `npm run main` to start the program.**
|
|
|
|
---
|
|
|
|
Contribution? Yes, please!
|