mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 21:14:37 +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)
|