.. | .. |
---|
2 | 2 | noarg: |
---|
3 | 3 | $(MAKE) -C ../ |
---|
4 | 4 | |
---|
5 | | -TEST_GEN_PROGS := count_instructions l3_bank_test per_event_excludes |
---|
| 5 | +TEST_GEN_PROGS := count_instructions count_stcx_fail l3_bank_test per_event_excludes |
---|
6 | 6 | EXTRA_SOURCES := ../harness.c event.c lib.c ../utils.c |
---|
7 | 7 | |
---|
8 | 8 | top_srcdir = ../../../../.. |
---|
.. | .. |
---|
13 | 13 | $(TEST_GEN_PROGS): $(EXTRA_SOURCES) |
---|
14 | 14 | |
---|
15 | 15 | # loop.S can only be built 64-bit |
---|
| 16 | +$(OUTPUT)/count_instructions: CFLAGS += -m64 |
---|
16 | 17 | $(OUTPUT)/count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES) |
---|
17 | | - $(CC) $(CFLAGS) -m64 -o $@ $^ |
---|
| 18 | + |
---|
| 19 | +$(OUTPUT)/count_stcx_fail: CFLAGS += -m64 |
---|
| 20 | +$(OUTPUT)/count_stcx_fail: loop.S $(EXTRA_SOURCES) |
---|
| 21 | + |
---|
18 | 22 | |
---|
19 | 23 | $(OUTPUT)/per_event_excludes: ../utils.c |
---|
20 | 24 | |
---|