12 lines
		
	
	
		
			135 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			135 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# variables
 | 
						|
CC=gcc
 | 
						|
CFLAGS=-std=c11 -Wall -Werror
 | 
						|
LDLIBS=-lm
 | 
						|
OUTPUT=$@
 | 
						|
 | 
						|
# targets
 | 
						|
%: %.c
 | 
						|
	$(CC) $(CFLAGS) $@.c $(LDLIBS) -o $(OUTPUT)
 | 
						|
 | 
						|
 |