blob: 910f21e44d6f3de9512b1754c18c2a3dddab47d2 [file] [log] [blame]
CFLAGS = -O
all: mca-recover vtop cmcistorm hornet einj_mem_uc lmce
clean:
rm -f *.o mca-recover vtop cmcistorm hornet einj_mem_uc lmce
mca-recover: mca-recover.c
cc -o mca-recover $(CFLAGS) mca-recover.c
vtop: vtop.c
cc -o vtop $(CFLAGS) vtop.c
cmcistorm: cmcistorm.o proc_pagemap.o
cc -o cmcistorm $(CFLAGS) cmcistorm.o proc_pagemap.o
hornet: hornet.c
cc -o hornet $(CFLAGS) hornet.c
einj_mem_uc: einj_mem_uc.o proc_cpuinfo.o proc_interrupt.o proc_pagemap.o do_memcpy.o
cc -o einj_mem_uc einj_mem_uc.o proc_cpuinfo.o proc_interrupt.o proc_pagemap.o do_memcpy.o
lmce: proc_pagemap.o lmce.o
cc -o lmce proc_pagemap.o lmce.o -pthread