mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Makefile: all objects .o depend on generated headers (to avoid tracking
all dependencies before compiling)
This commit is contained in:
committed by
EmilieNumworks
parent
6c070b63fc
commit
66e375a308
2
Makefile
2
Makefile
@@ -85,6 +85,8 @@ dependencies = $(all_objs:.o=.d)
|
||||
-include $(dependencies)
|
||||
products += $(dependencies)
|
||||
|
||||
$(all_objs): $(generated_headers)
|
||||
|
||||
.SECONDARY: $(objs)
|
||||
%.$(EXE): $(objs)
|
||||
@echo "LD $@"
|
||||
|
||||
@@ -25,8 +25,7 @@ FREETYPE_PATH := /usr/local/Cellar/freetype/2.6.3
|
||||
# built w/o PNG support and simply won't output an image of the rasterization
|
||||
#LIBPNG_PATH := /usr/local/Cellar/libpng/1.6.21
|
||||
|
||||
kandinsky/src/text.cpp: kandinsky/src/small_font.h kandinsky/src/large_font.h
|
||||
kandinsky/src/context_text.cpp: kandinsky/src/small_font.h kandinsky/src/large_font.h
|
||||
generated_headers += $(addprefix kandinsky/src/, small_font.h large_font.h)
|
||||
|
||||
small_font_files = $(addprefix kandinsky/src/, small_font.h small_font.c)
|
||||
large_font_files = $(addprefix kandinsky/src/, large_font.h large_font.c)
|
||||
|
||||
Reference in New Issue
Block a user