git://git.jankratochvil.net
/
timeplan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa855d
)
Prevented compilation through object file.
author
short
<>
Tue, 5 Dec 2000 15:53:18 +0000
(15:53 +0000)
committer
short
<>
Tue, 5 Dec 2000 15:53:18 +0000
(15:53 +0000)
Now it respects specified CFLAGS during compilation.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c217400
..
c02e21e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,9
+2,8
@@
CFLAGS=-O2 -ggdb -Wall -pedantic -ansi -D_GNU_SOURCE
all: timeplan
-timeplan: timeplan.o
-
-timeplan.o: timeplan.c
+timeplan: timeplan.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(LOADLIBES) $(LDLIBS) -o $@ $<
.PHONY: clean
clean: