gem5/tests/test-progs/mwait/Makefile
Marc Orr 3947f88d0f tests: A test program for the new mwait implementation.
This is a simple test program for the new mwait implemenation. It is uses
m5threads to create to threads of execution in syscall emulation mode that
interact using the mwait instruction.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
2014-11-06 05:42:21 -06:00

20 lines
353 B
Makefile

CPP := g++
TEST_OBJS := mwait.o
TEST_PROGS := $(TEST_OBJS:.o=)
# ==== Rules ==================================================================
.PHONY: default clean
default: $(TEST_PROGS)
clean:
$(RM) $(TEST_OBJS) $(TEST_PROGS)
$(TEST_PROGS): $(TEST_OBJS)
$(CPP) -static -o $@ $@.o pthread.o
%.o: %.c Makefile
$(CPP) -c -o $@ $*.c -msse3