gem5/tests/test-progs/mwait/Makefile

21 lines
353 B
Makefile
Raw Permalink Normal View History

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