diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-12-27 11:36:15 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-12-27 11:36:15 +0300 |
commit | e3d384202af9bc2fa5d3c514ce8a31ffcf77b70c (patch) | |
tree | 1af7ded2a8e3e99efa1f880fb44bb049517850c9 /Makefile.direct | |
parent | 097056fbd543f56539ec2f4df10e80b0a398b3de (diff) | |
download | bdwgc-e3d384202af9bc2fa5d3c514ce8a31ffcf77b70c.tar.gz |
Avoid test.o rebuild on tests folder timestamp change (Makefile.direct)
* Makefile.direct (tests/test.o): Remove dependency on "tests" target;
execute "mkdir tests".
* Makefile.direct (tests): Remove target.
Diffstat (limited to 'Makefile.direct')
-rw-r--r-- | Makefile.direct | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.direct b/Makefile.direct index fb4192b6..24facf4d 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -192,13 +192,11 @@ specific.o pthread_support.o thread_local_alloc.o win32_threads.o: \ dbg_mlc.o gcj_mlc.o: $(srcdir)/include/private/dbg_mlc.h -tests/test.o: tests $(srcdir)/tests/test.c +tests/test.o: $(srcdir)/tests/test.c + mkdir tests || cat /dev/null $(CC) $(CFLAGS) -c $(srcdir)/tests/test.c mv test.o tests/test.o -tests: - mkdir tests - base_lib gc.a: $(OBJS) dyn_load.o $(UTILS) rm -f dont_ar_1 ./if_mach SPARC SOLARIS touch dont_ar_1 |