Fix building the tests with OBJDIR

This commit is contained in:
Pierre Pronchery 2020-01-17 20:40:35 +01:00
parent c1d0cf8e3f
commit cd01e8468e
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@
#include <stdio.h>
#include <System/error.h>
#include "App/appserver.h"
/* FIXME does not survive OBJDIR */
#include "Dummy.h"

View File

@ -1,5 +1,5 @@
targets=AppBroker,Dummy.h,appclient,appinterface,appmessage,appserver,fixme.log,includes,lookup,shlint.log,tests.log,transport
cppflags_force=-I../include -I$(OBJDIR).
cppflags_force=-I../include -I. -I$(OBJDIR).
cflags_force=`pkg-config --cflags libSystem`
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lApp