2012-05-29 14:33:18 +02:00
|
|
|
|
|
|
|
all: generic
|
|
|
|
|
|
|
|
generic: ramspeed.c fltmem.c fltmark.c intmem.c intmark.c
|
2012-06-29 15:09:10 +02:00
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o ramspeed
|
2012-05-29 14:33:18 +02:00
|
|
|
|
|
|
|
i386: ramspeed.c i386/*.s i386/cpuinfo/*.s
|
2012-06-29 15:09:10 +02:00
|
|
|
$(CC) $(CFLAGS) -DI386_ASM $(LDFLAGS) $^ -o ramspeed
|
2012-05-29 14:33:18 +02:00
|
|
|
|
|
|
|
x86_64: ramspeed.c amd64/*.s
|
2012-06-29 15:09:10 +02:00
|
|
|
$(CC) $(CFLAGS) -DAMD64_ASM $(LDFLAGS) $^ -o ramspeed
|
2012-05-29 14:33:18 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o ramspeed
|