Skip to content

Instantly share code, notes, and snippets.

@TorNATO-PRO
Last active September 29, 2021 17:57
Show Gist options
  • Save TorNATO-PRO/3da0d4ea86bba9115d6010869bb913ba to your computer and use it in GitHub Desktop.
Save TorNATO-PRO/3da0d4ea86bba9115d6010869bb913ba to your computer and use it in GitHub Desktop.
# comment
# (note: the <tab> in the command line is necessary for make to work)
target: dependency1 dependency2 ...
<tab> command
# an example entry
example entry:
# target entry to build program executable from program and mylib
# object files
program: program.o mylib.o
gcc -o program program.o mylib.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment