aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8da53a4e2b5b902c5fbe7c0bc2d510a3b774148b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
MAKEFLAGS = -j8
srcs := $(shell find . -name '*.c')
objs := $(srcs:.c=.o)

all: $(objs)
%.o: %.c
	gcc-13 -std=c2x -Iinclude -c -o $@ $<

clean:
	rm -f $(objs)

.PHONY: clean