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

Subversion Repositories timestamp

[/] [timestamp/] [trunk/] [tstamp_linux/] [Makefile] - Rev 2

Compare with Previous | Blame | View Log

CC=powerpc-linux-gnu-gcc
AS=powerpc-eabi-as
#XILINX_INC=../ppc405_0/libsrc/cpu_ppc405_v1_10_a/src

tstamp_lnx: tstamp_lnx.o
        $(CC) -o $@ -static $<

tstamp_lnx.o: tstamp_lnx.s
        grep -v gnu_attribute < $< > tmp.s
        $(AS) -o $@ tmp.s
        rm -rf tmp.s

tstamp_lnx.s: tstamp_lnx.c
        $(CC) -S $<

clean:
        rm -rf tstamp_lnx.[os]

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.