mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
a4d9191a49
Add new package: ramspeed/smp RAMspeed/SMP, a cache and memory benchmarking tool (for multiprocessor machines running UNIX-like operating systems) Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 lines
313 B
Makefile
15 lines
313 B
Makefile
|
|
all: generic
|
|
|
|
generic: ramsmp.c fltmem.c fltmark.c intmem.c intmark.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o ramsmp
|
|
|
|
i386: ramsmp.c i386/*.s i386/cpuinfo/*.s
|
|
$(CC) $(CFLAGS) -DI386_ASM $(LDFLAGS) $^ -o ramsmp
|
|
|
|
x86_64: ramsmp.c amd64/*.s
|
|
$(CC) $(CFLAGS) -DAMD64_ASM $(LDFLAGS) $^ -o ramsmp
|
|
|
|
clean:
|
|
rm -f *.o ramsmp
|