UBUNTU: SAUCE: rtla: fix deb build
BugLink: https://bugs.launchpad.net/bugs/2059080 We need to explicitly define build rules for C object files when building the deb, otherwise we may get the following build failure: make[1]: *** No rule to make target 'src/osnoise.o', needed by 'static'. Stop. This doesn't seem to happen when building rtla manually, but we need it when we build the deb package, so add the extra rule to make the build more robust. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Roxana Nicolescu
parent
51c8aee421
commit
888e7c48a1
@@ -111,6 +111,9 @@ warnings: $(WARNINGS)
|
||||
$(ERROR_OUT)
|
||||
endif
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
rtla: $(OBJ)
|
||||
$(CC) -o rtla $(LDFLAGS) $(OBJ) $(LIBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user