Commit fc4aa41 1 parent 944ff16 commit fc4aa41 Copy full SHA for fc4aa41
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ $(EXPORT_HEADER):
51
51
@echo " #define ZONE_EXPORT" > include/zone/export.h
52
52
53
53
$(OBJECTS ) : $(SOURCES ) $(SOURCES:.c=.d )
54
- $(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -o $@ -c $<
54
+ $(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -o $@ -c $( @:.o=.c )
55
55
56
56
$(WESTMERE_OBJECTS ) : $(WESTMERE_SOURCES ) $(WESTMERE_SOURCES:.c=.d )
57
- $(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -march=westmere -o $@ -c $<
57
+ $(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -march=westmere -o $@ -c $( @:.o=.c )
58
58
59
59
$(HASWELL_OBJECTS ) : $(HASWELL_SOURCES ) $(HASWELL_SOURCES:.c=.d )
60
- $(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -march=haswell -o $@ -c $<
60
+ $(CC ) $(DEPFLAGS ) $(CPPFLAGS ) $(CFLAGS ) -march=haswell -o $@ -c $( @:.o=.c )
61
61
62
62
DEPENDS := $(SOURCES:.c=.d ) \
63
63
$($(WESTMERE ) _SOURCES:.c=.d) \
You can’t perform that action at this time.
0 commit comments