From 57ce9be86888daa96848da1be92a5d79ea2e0783 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 3 Aug 2023 20:46:54 -0500 Subject: [PATCH] add .dirstamp to examples --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39ec1d7..128b2d8 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ $(DIST)/test-static: $(TESTS) $(DIST)/lib$(PROJ).a $(PROJ).h tests/ptest.h $(CC) $(filter-out -Werror, $(CFLAGS)) $(TESTS) -lm -L$(DIST) -l$(PROJ) -static -o $(DIST)/test-static examples/%: $(DIST)/.dirstamp examples/%.c $(PROJ).c $(PROJ).h - $(CC) $(CFLAGS) $(filter-out $(DIST) $(PROJ).h, $^) -lm -o $(DIST)/$@ + $(CC) $(CFLAGS) $(filter-out $(DIST)/.dirstamp $(PROJ).h, $^) -lm -o $(DIST)/$@ $(DIST)/lib$(PROJ).so: $(DIST)/.dirstamp $(PROJ).c $(PROJ).h ifneq ($(OS),Windows_NT)