webvm/examples/c/Makefile
2022-01-31 22:00:49 +01:00

13 lines
151 B
Makefile

SRCS = $(wildcard *.c)
PROGS = $(patsubst %.c,%,$(SRCS))
all: $(PROGS)
%: %.c
$(CC) $(CFLAGS) -o $@ $<
clean:
rm -f $(PROGS)
.PHONY: all clean