Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Make

< >

Make is an open source programming language created in 1976 by Stuart Feldman.

#85on PLDB 48Years Old 248kRepos

Try now: Riju · 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 Riju:
.PHONY: all all: @echo "Hello, world!"
Example from hello-world:
$(info "Hello World") all:
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)

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll