From 2a4af1491709a649672431191a4de9e5e8c2d069 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 18 Nov 2012 22:32:45 +0100 Subject: [PATCH] math: fix makefile so .o files are kept --- src/math/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/math/Makefile b/src/math/Makefile index 9199580..7038fd3 100644 --- a/src/math/Makefile +++ b/src/math/Makefile @@ -16,9 +16,11 @@ clean: rm -f $(OBJ) $(BIN) $(BIN): util.o - -%.o: %.c sanity/%.h ucb/%.h crlibm/%.h special/%.h util.h +$(OBJ): util.h +%.o: %.c $(CC) $(CFLAGS) -c -o $@ $< %: %.c %: %.o $(CC) $(LDFLAGS) -o $@ $^ + +.PRECIOUS: $(OBJ) -- 2.20.1