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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [standalone/] [unix/] [makefile] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 unneback
COMPILE := ../common/ecosconfig.cxx ../common/cdl_exec.cxx ../../common/common/build.cxx ../../common/common/flags.cxx
2
OBJECTS := $(COMPILE:.cxx=.o)
3
INCLUDE_PATH := -I../../common/common -I$(ECOS)/include -I$(TCL)/include
4
CXX := g++
5
 
6
ecosconfig: $(OBJECTS)
7
        $(CXX) $^ -L$(ECOS)/lib -L$(TCL)/lib -lcdl -lcyginfra -ltcl8.2 -ldl -o $@
8
 
9
%.o: %.cxx
10
        $(CXX) -c -g -O2 -I$(dir $<) $(INCLUDE_PATH) -o $@ $<
11
 
12
clean:
13
        rm ecosconfig $(OBJECTS)
14
 

powered by: WebSVN 2.1.0

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