kumquat-buildroot/package/ramspeed/Makefile
Gustavo Zacarias d9a7909454 ramspeed: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-13 23:58:33 +02:00

15 lines
294 B
Makefile

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