mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			200 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			200 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# Makefile
 | 
						|
 | 
						|
CC     = gcc
 | 
						|
CFLAGS = -O3
 | 
						|
LIBS   = 
 | 
						|
SRCS   = $(wildcard *.c)
 | 
						|
 | 
						|
PROGS = $(patsubst %.c,%,$(SRCS))
 | 
						|
 | 
						|
all:	$(PROGS)
 | 
						|
 | 
						|
%: %.c
 | 
						|
	$(CC) $(CFLAGS) $(IFLAGS) -o $@ $< $(LIBS)
 | 
						|
 | 
						|
clean: 
 | 
						|
	rm -f $(PROGS)
 |