mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
tweak the makefiles to ensure that libmarkdown (a synthetic target) is make before any of the executables are assembled during a parallel make
This commit is contained in:
+4
-1
@@ -127,9 +127,12 @@ gethopt.o: gethopt.c
|
||||
main.o: main.c mkdio.h config.h
|
||||
$(BUILD) -c main.c
|
||||
|
||||
$(MKDLIB): $(OBJS)
|
||||
$(MKDLIB): $(OBJS) .libmarkdown
|
||||
./librarian.sh make $(MKDLIB) VERSION $(OBJS)
|
||||
|
||||
.libmarkdown: $(OBJS)
|
||||
touch $@
|
||||
|
||||
verify: echo tools/checkbits.sh verify_subdirs
|
||||
@./echo -n "headers ... "; tools/checkbits.sh && echo "GOOD"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ EXERCISE=$(exercisers)/flags
|
||||
|
||||
TESTFRAMEWORK += $(EXERCISE)
|
||||
|
||||
$(exercisers)/flags: $(exercisers)/flags.o
|
||||
$(exercisers)/flags: $(exercisers)/flags.o $(MKDLIB)
|
||||
$(LINK) -o $@ $< -lmarkdown
|
||||
|
||||
$(exercisers)/flags.o: $(exercisers)/flags.c
|
||||
|
||||
Reference in New Issue
Block a user