aboutsummaryrefslogtreecommitdiffstats
path: root/package/ramspeed/Makefile
blob: f4a4de6a1e96ef1549725a6f3ffc53a76a4ed0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

all: generic

generic: ramspeed.c fltmem.c fltmark.c intmem.c intmark.c
	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o ramspeed

i386: ramspeed.c i386/*.s i386/cpuinfo/*.s
	$(CC) $(CFLAGS) -DI386_ASM $(LDFLAGS) $^ -o ramspeed

x86_64: ramspeed.c amd64/*.s
	$(CC) $(CFLAGS) -DAMD64_ASM $(LDFLAGS) $^ -o ramspeed

clean:
	rm -f *.o ramspeed