4 PROGS := count_instructions
5 EXTRA_SOURCES := ../harness.c event.c
9 $(PROGS): $(EXTRA_SOURCES)
11 # loop.S can only be built 64-bit
12 count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES)
13 $(CC) $(CFLAGS) -m64 -o $@ $^
16 @-for PROG in $(PROGS); do \
23 .PHONY: all run_tests clean