File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
- Initial release.
13
+
14
+ ### Fixed
15
+
16
+ - Fix makefile dependencies.
Original file line number Diff line number Diff line change @@ -52,18 +52,23 @@ $(EXPORT_HEADER):
52
52
@mkdir -p include/zone
53
53
@echo " #define ZONE_EXPORT" > include/zone/export.h
54
54
55
- $(OBJECTS ) : $( SOURCES ) $( SOURCES:.c=.d )
55
+ $(OBJECTS ) :
56
56
@mkdir -p src/fallback
57
57
$(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -o $@ -c $(srcdir ) /$(@:.o=.c )
58
58
59
- $(WESTMERE_OBJECTS ) : $( WESTMERE_SOURCES ) $( WESTMERE_SOURCES:.c=.d )
59
+ $(WESTMERE_OBJECTS ) :
60
60
@mkdir -p src/westmere
61
61
$(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -march=westmere -o $@ -c $(srcdir ) /$(@:.o=.c )
62
62
63
- $(HASWELL_OBJECTS ) : $( HASWELL_SOURCES ) $( HASWELL_SOURCES:.c=.d )
63
+ $(HASWELL_OBJECTS ) :
64
64
@mkdir -p src/haswell
65
65
$(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -march=haswell -o $@ -c $(srcdir ) /$(@:.o=.c )
66
66
67
+ src/zone.o : $(srcdir ) /src/zone.c src/zone.d
68
+ src/fallback/parser.o : $(srcdir ) /src/fallback/parser.c src/fallback/parser.d
69
+ src/westmere/parser.o : $(srcdir ) /src/westmere/parser.c src/westmere/parser.d
70
+ src/haswell/parser.o : $(srcdir ) /src/haswell/parser.c src/haswell/parser.d
71
+
67
72
DEPENDS := $(SOURCES:.c=.d ) \
68
73
$($(WESTMERE ) _SOURCES:.c=.d) \
69
74
$($(HASWELL ) _SOURCES:.c=.d)
You can’t perform that action at this time.
0 commit comments