webvm/examples/c/Makefile

14 lines
151 B
Makefile
Raw Normal View History

2022-01-31 20:52:13 +00:00
SRCS = $(wildcard *.c)
PROGS = $(patsubst %.c,%,$(SRCS))
all: $(PROGS)
%: %.c
$(CC) $(CFLAGS) -o $@ $<
clean:
rm -f $(PROGS)
.PHONY: all clean