commit d9567b760c0aa1cedbcab1e9b16f0c72263cbf7f parent 287b6cde791ece209b5603a8ffab3906861b548b Author: Dominik Schmidt <dominik@schm1dt.ch> Date: Wed, 12 Dec 2018 15:51:46 +0100 Correct makefile. Add the proper -of=$@ instead of -of$@ and correct a .d file in linking step to a .o-file Diffstat:
Makefile | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -4,17 +4,17 @@ IOPTS=$(OPTS) -IDRSS/ -IDRSS/kxml/source/ -Istandardpaths/source/ all: Fb2RSS captcha -Fb2RSS: fbstream.o Fb2RSS.o DRSS/drss.a standardpaths/source/standardpaths.d - $(DMD) $(IOPTS) -of$@ $^ +Fb2RSS: fbstream.o Fb2RSS.o DRSS/drss.a standardpaths/source/standardpaths.o + $(DMD) $(IOPTS) -of=$@ $^ captcha: standardpaths/libstandardpaths.a captcha.o fbstream.o DRSS/drss.a - $(DMD) $(IOPTS) -of$@ $^ + $(DMD) $(IOPTS) -of=$@ $^ standardpaths/libstandardpaths.a: standardpaths/source/standardpaths.o - $(DMD) $(IOPTS) -lib -of$@ $^ + $(DMD) $(IOPTS) -lib -of=$@ $^ %.o: %.d - $(DMD) $(IOPTS) -c -of$@ $< + $(DMD) $(IOPTS) -c -of=$@ $< .PHONY: DRSS/drss.a: cd DRSS/; make DMD="$(DMD)" drss.a