Commit ad141db7 authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Federico Vaga

sw:tools: fix build rules

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent baf92791
......@@ -31,15 +31,16 @@ install:
install -d $(DESTDIR)/bin
install -D $(PROGS) $(DESTDIR)/bin
%: %.c ../lib/libwrtd.a wrtd-inout-common.o
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
wrtd-inout-common.o: wrtd-inout-common.c
$(CC) -c $(CFLAGS) $^ -o $@
$(PROGS): wrtd-inout-common.o ../lib/libwrtd.a
# make nothing for modules_install, but avoid errors
modules_install:
clean:
rm -f $(PROGS) *.o *~
.PHONY: all, clean
.PHONY: all clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment