Makefile revision 10528
110528Smorr@cs.wisc.edu 210528Smorr@cs.wisc.eduCPP := g++ 310528Smorr@cs.wisc.edu 410528Smorr@cs.wisc.eduTEST_OBJS := mwait.o 510528Smorr@cs.wisc.eduTEST_PROGS := $(TEST_OBJS:.o=) 610528Smorr@cs.wisc.edu 710528Smorr@cs.wisc.edu# ==== Rules ================================================================== 810528Smorr@cs.wisc.edu 910528Smorr@cs.wisc.edu.PHONY: default clean 1010528Smorr@cs.wisc.edu 1110528Smorr@cs.wisc.edudefault: $(TEST_PROGS) 1210528Smorr@cs.wisc.edu 1310528Smorr@cs.wisc.educlean: 1410528Smorr@cs.wisc.edu $(RM) $(TEST_OBJS) $(TEST_PROGS) 1510528Smorr@cs.wisc.edu 1610528Smorr@cs.wisc.edu$(TEST_PROGS): $(TEST_OBJS) 1710528Smorr@cs.wisc.edu $(CPP) -static -o $@ $@.o pthread.o 1810528Smorr@cs.wisc.edu 1910528Smorr@cs.wisc.edu%.o: %.c Makefile 2010528Smorr@cs.wisc.edu $(CPP) -c -o $@ $*.c -msse3 21