Explain multi-job makefiles

This commit is contained in:
Romain Goyet
2015-06-01 19:51:44 +02:00
parent 8014d5c2b4
commit 6e602c514b
2 changed files with 7 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ kandinsky/src/text.c: kandinsky/src/font.h
font_files = $(addprefix kandinsky/src/, font.h font.c)
# Even though raster will generate both .c and .h files, we don't declare it as
# such to make. If we did, "make -jN" with N>1 may call "raster" twice.
kandinsky/src/font.h: kandinsky/src/font.c
kandinsky/src/font.c: kandinsky/fonts/rasterizer
@echo "RASTER $(font_files)"