Makefile revision 10528
1
2CPP := g++
3
4TEST_OBJS := mwait.o
5TEST_PROGS := $(TEST_OBJS:.o=)
6
7# ==== Rules ==================================================================
8
9.PHONY: default clean
10
11default: $(TEST_PROGS) 
12
13clean:
14	$(RM)  $(TEST_OBJS) $(TEST_PROGS)
15
16$(TEST_PROGS): $(TEST_OBJS)
17	$(CPP)  -static -o $@  $@.o pthread.o
18
19%.o: %.c Makefile
20	$(CPP) -c -o $@ $*.c -msse3
21