OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [contrib/] [speedtst/] [Makefile] - Rev 1765

Compare with Previous | Blame | View Log

CC = gcc

all: speed xspeed

speed.o : speed.c
        $(CC) -DX11=1 -c $<

speed: speed.o
        $(CC) -DX11=1 $< -o $@ \
                -lnano-X -lmwengine -lmwfonts -lmwdrivers \
                -L/usr/X11R6/lib -lX11

xspeed.o : speed.c
        $(CC) -DTEST_FOR_X=1 -c $< -o $@

xspeed: xspeed.o
        $(CC) -DTEST_FOR_X=1 $< -o $@ \
                -L/usr/X11R6/lib -lX11

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.