https://github.com/jonatandb/head-first-c_mis-practicas
https://github.com/jonatandb/head-first-c_mis-practicas
c jonatandb practicas practices
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonatandb/head-first-c_mis-practicas
- Owner: Jonatandb
- Created: 2025-01-10T15:28:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-13T23:34:12.000Z (over 1 year ago)
- Last Synced: 2025-03-04T06:14:27.571Z (about 1 year ago)
- Topics: c, jonatandb, practicas, practices
- Language: C
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Head First C [1st ed.] - My practices
- [O'Reilly - Head First C Book](https://www.oreilly.com/library/view/head-first-c/9781449335649/)
- [O'Reilly - Head First C Book - Errata](https://www.oreilly.com/catalog/errata.csp?isbn=0636920015482)
- [O'Reilly - Head First C Book - Github Repository](https://github.com/dogriffiths/HeadFirstC)
- [O'Reilly - Head First C Book - Arduino lab code](https://dogriffiths.github.io/HeadFirstC/)
---
### Generación de un ejecutable mediante el uso de Make:
Para enlazar y compilar un archivo `.c` en un ejecutable:
`make nombreArchivo` (sin el ".c")
Para ejecutarlo:
`./nombreArchivo`
- Para que make funcione de esta manera, se debe crear un archivo en la carpeta del archivo `.c`, llamado `Makefile` (sin extensión), que contenga lo siguiente:
```
# Compilación simple con gcc
%: %.c
gcc $< -o $@ && echo "Compilación exitosa: $@"
```