projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: fix makefile so .o files are kept
[libc-test]
/
src
/
math
/
Makefile
diff --git
a/src/math/Makefile
b/src/math/Makefile
index
9199580
..
7038fd3
100644
(file)
--- 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)