Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Make

< >

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

#96on PLDB 48Years Old 248kRepos
REPL · Try It Online · Wikipedia · Docs

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 Example Token
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)

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0