Skip to content

Using make to build the project #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spynix:
@clang -W -o spynix src/main.c src/cpu/cpu_info.c src/hlp/hlp_info.c src/net/net_info.c src/ram/ram_info.c src/rom/rom_info.c src/sys/sys_info.c -ansi -pedantic

clear:
@rm spynix
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rapid unix system & hardware info scraper
4) Compile and run the program with *clang*.
- Compilation example
```
clang -W -o spynix src/main.c src/cpu/cpu_info.c src/hlp/hlp_info.c src/net/net_info.c src/ram/ram_info.c src/rom/rom_info.c src/sys/sys_info.c -ansi -pedantic
make spynix
```
5) Launch the app to see all available options.
```
Expand Down