Makefile revision 10528:a69d27a14460
18706Sandreas.hansson@arm.com 28706Sandreas.hansson@arm.comCPP := g++ 38706Sandreas.hansson@arm.com 48706Sandreas.hansson@arm.comTEST_OBJS := mwait.o 58706Sandreas.hansson@arm.comTEST_PROGS := $(TEST_OBJS:.o=) 68706Sandreas.hansson@arm.com 78706Sandreas.hansson@arm.com# ==== Rules ================================================================== 88706Sandreas.hansson@arm.com 98706Sandreas.hansson@arm.com.PHONY: default clean 108706Sandreas.hansson@arm.com 118706Sandreas.hansson@arm.comdefault: $(TEST_PROGS) 128706Sandreas.hansson@arm.com 135369Ssaidi@eecs.umich.educlean: 143005Sstever@eecs.umich.edu $(RM) $(TEST_OBJS) $(TEST_PROGS) 153005Sstever@eecs.umich.edu 163005Sstever@eecs.umich.edu$(TEST_PROGS): $(TEST_OBJS) 173005Sstever@eecs.umich.edu $(CPP) -static -o $@ $@.o pthread.o 183005Sstever@eecs.umich.edu 193005Sstever@eecs.umich.edu%.o: %.c Makefile 203005Sstever@eecs.umich.edu $(CPP) -c -o $@ $*.c -msse3 213005Sstever@eecs.umich.edu