diff options
author | Daniel Carl <danielcarl@gmx.de> | 2014-06-09 15:13:26 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2014-06-09 15:13:26 +0200 |
commit | 8ea85ae8db6ecd494cc0530948ff9cad209c864c (patch) | |
tree | 54a0d3a264f7b6a59841cf75f7a468b65e236d8b /Makefile | |
parent | 9348ab88370b8f6ba02f07cf2124fcf9eb78c3f5 (diff) |
Don't relink the libvimb before each test.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -29,9 +29,10 @@ uninstall: clean: test-clean $(RM) src/*.o src/*.do src/*.lo src/hints.js.h - $(RM) tests/$(LIBTARGET) $(TARGET) $(DTARGET) + $(RM) $(TARGET) $(DTARGET) test-clean: + $(RM) $(LIBTARGET) @$(MAKE) $(MFLAGS) -C tests clean dist: dist-clean @@ -62,8 +63,8 @@ $(DTARGET): $(DOBJ) @$(CC) $(DOBJ) -o $@ $(DLDFLAGS) $(LIBTARGET): $(LOBJ) - @echo "$(CC) tests/$@" - @$(CC) -shared ${LOBJ} -o ./tests/$(LIBTARGET) $(LDFLAGS) + @echo "$(CC) $@" + @$(CC) -shared ${LOBJ} -o $@ $(LDFLAGS) src/config.h: @echo create $@ from src/config.def.h @@ -81,4 +82,4 @@ src/config.h: @echo "${CC} $@" @$(CC) -DTESTLIB $(DFLAGS) -fPIC -c -o $@ $< -.PHONY: clean debug all install uninstall options dist test +.PHONY: clean debug all install uninstall options dist dist-clean test test-clean |