Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit de29859

Browse files
committed
Makefile: force make to enter in subfolder
Currently a change in source files in "parsers" folder does not trigger re-compiling. Fixed by adding a empty target "force". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
1 parent e9812a1 commit de29859

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ all: stm32flash
1919

2020
serial_platform.o: serial_posix.c serial_w32.c
2121

22-
parsers/parsers.a:
22+
parsers/parsers.a: force
2323
cd parsers && $(MAKE) parsers.a
2424

2525
stm32flash: $(OBJS) $(LIBOBJS)
@@ -35,4 +35,6 @@ install: all
3535
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1
3636
$(INSTALL) -m 644 stm32flash.1 $(DESTDIR)$(PREFIX)/share/man/man1
3737

38-
.PHONY: all clean install
38+
force:
39+
40+
.PHONY: all clean install force

0 commit comments

Comments
 (0)