Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Makefile

Makefile - Programming language

< >

Makefile is a programming language created in 1976 by Stuart Feldman.

#193on PLDB 47Years Old 1.9kUsers
0Books 0Papers 248kRepos

Try now: TIO

A makefile is a file containing a set of directives used with the make build automation tool.. Read more on Wikipedia...


Example from the web:
edit : main.o kbd.o command.o display.o \ insert.o search.o files.o utils.o cc -o edit main.o kbd.o command.o display.o \ insert.o search.o files.o utils.o main.o : main.c defs.h cc -c main.c kbd.o : kbd.c defs.h command.h cc -c kbd.c command.o : command.c defs.h command.h cc -c command.c display.o : display.c defs.h buffer.h cc -c display.c insert.o : insert.c defs.h buffer.h cc -c insert.c search.o : search.c defs.h buffer.h cc -c search.c files.o : files.c defs.h buffer.h command.h cc -c files.c utils.o : utils.c defs.h cc -c utils.c clean : rm edit main.o kbd.o command.o display.o \ insert.o search.o files.o utils.o
Example from Linguist:
#!/usr/bin/make -f %: ls -l
Example from Wikipedia:
edit: main.o kbd.o command.o display.o cc -o edit main.o kbd.o command.o display.o main.o: main.c defs.h cc -c main.c kbd.o: kbd.c defs.h command.h cc -c kbd.c command.o: command.c defs.h command.h cc -c command.c display.o: display.c defs.h cc -c display.c clean: rm edit main.o kbd.o command.o display.o

Language features

Feature Supported Token Example
Comments
# A comment
Line Comments #
# A comment
Semantic Indentation
Assignment
objects = program.o foo.o utils.o
Variable Substitution Syntax
objects = program.o foo.o utils.o
$(objects)
xpath.html · makefile.html · toml.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub · feedback@pldb.com