Fix Makefile not checking timestamp of 'build' directory

This commit is contained in:
seajee
2025-08-03 00:36:22 +02:00
parent 4e538153fc
commit a88243e46b

View File

@@ -9,7 +9,7 @@ BUILDS=$(patsubst examples/%.c, build/%, $(EXAMPLES))
all: $(BUILDS) all: $(BUILDS)
build/%: examples/%.c sock.h build build/%: examples/%.c sock.h | build
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
build: build: