mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
Fix dependency rules in openjpeg library makefile.
Let the object-files be dependend on the headers, that have to be constructed, instead of making the source files dependend on them. Fixes #65.
This commit is contained in:
parent
938ffd2bd5
commit
8dd9c48a1a
@ -19,7 +19,7 @@ vpath %.c $(OPENJPEG_DIR)
|
||||
opj_config.h:
|
||||
$(VERBOSE)echo "#define PACKAGE_VERSION \"1.4.0\"" > $@
|
||||
|
||||
$(SRC_C): opj_config.h
|
||||
$(SRC_C:.c=.o): opj_config.h
|
||||
|
||||
clean: clean_opj_config_h
|
||||
|
||||
@ -32,7 +32,7 @@ malloc.h:
|
||||
$(VERBOSE)echo "#include <stdlib.h>" > $@
|
||||
$(VERBOSE)echo "#undef HAVE_MEMALIGN" >> $@
|
||||
|
||||
$(SRC_C): malloc.h
|
||||
$(SRC_C:.c=.o): malloc.h
|
||||
|
||||
clean: clean_malloc_h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user