diff options
Diffstat (limited to 'package/ramspeed/Makefile')
-rw-r--r-- | package/ramspeed/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ramspeed/Makefile b/package/ramspeed/Makefile new file mode 100644 index 000000000..acb8cfd8d --- /dev/null +++ b/package/ramspeed/Makefile @@ -0,0 +1,14 @@ + +all: generic + +generic: ramspeed.c fltmem.c fltmark.c intmem.c intmark.c + $(CC) $(CFLAGS) $^ -o ramspeed + +i386: ramspeed.c i386/*.s i386/cpuinfo/*.s + $(CC) $(CFLAGS) -DI386_ASM $^ -o ramspeed + +x86_64: ramspeed.c amd64/*.s + $(CC) $(CFLAGS) -DAMD64_ASM $^ -o ramspeed + +clean: + rm -f *.o ramspeed |