test/Makefile

changeset 745
aea83a43b09a
parent 742
7e67689241fd
child 747
efbd59642577
equal deleted inserted replaced
744:f0d7178043c1 745:aea83a43b09a
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 include ../$(CONF).mk 29 BUILD_ROOT = ..
30
31 include ../config.mk
30 32
31 TEST_SRC = main.c 33 TEST_SRC = main.c
32 TEST_SRC += base64.c 34 TEST_SRC += base64.c
33 TEST_SRC += crypto.c 35 TEST_SRC += crypto.c
34 36
43 $(LD) -o $(TEST_TARGET) $(TEST_OBJ) \ 45 $(LD) -o $(TEST_TARGET) $(TEST_OBJ) \
44 ../build/libidav$(LIB_EXT) ../build/libucx$(LIB_EXT) \ 46 ../build/libidav$(LIB_EXT) ../build/libucx$(LIB_EXT) \
45 $(LDFLAGS) $(DAV_LDFLAGS) 47 $(LDFLAGS) $(DAV_LDFLAGS)
46 48
47 ../build/test/%$(OBJ_EXT): %.c 49 ../build/test/%$(OBJ_EXT): %.c
48 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ucx -I../ -o $@ $< 50 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ucx -I../ -c -o $@ $<
49 51

mercurial