projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda7be5
)
math: fix makefile so .o files are kept
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 18 Nov 2012 21:32:45 +0000
(22:32 +0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Sun, 18 Nov 2012 21:32:45 +0000
(22:32 +0100)
src/math/Makefile
patch
|
blob
|
history
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)