From 0e23fd87097dd74a6b9e1a365c79716ec623e881 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 17 Jun 2020 19:59:46 +0200 Subject: [PATCH] build: Mark files generated by lopsub as precious. Without this, running make(1) with no arguments after a previous successful run would re-generate at least the .lsg.c file. This patch avoids that. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a552738..a993946 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,7 @@ fsck.o: oslfsck.lsg.h oslfsck: $(fsck_objects) $(CC) -o $@ $(fsck_objects) $(LDFLAGS) -llopsub +.PRECIOUS: %.lsg.h %.lsg.c %.lsg.c: %.suite lopsubgen --gen-c < $< -- 2.39.5