URL
https://opencores.org/ocsvn/spacewire_light/spacewire_light/trunk
Subversion Repositories spacewire_light
[/] [spacewire_light/] [trunk/] [sw/] [rtems_driver/] [Makefile] - Rev 6
Compare with Previous | Blame | View Log
## Build SpaceWire Light driver and test program for RTEMS on LEON3.## A different configuration of this test program is used in a simulation.# In that case the program is built by sim/spwamba_leon3/Makefile.#TARGETDIR = /opt/rtems-4.10/sparc-rtems4.10/leon3GCCSPECS = -B$(TARGETDIR)/lib/ -specs bsp_specs -qrtemsCC = sparc-rtems4.10-gccCFLAGS = $(GCCSPECS) -msoft-float -Wall -OsLDFLAGS = $(GCCSPECS) -msoft-float.PHONY: allall: spwltest.dsuspwltest.dsu: spwltest.o spacewirelight.o$(CC) $(LDFLAGS) $^ -o $@spwltest.o: spwltest.c spacewirelight.h$(CC) $(CFLAGS) -c $<spacewirelight.o: spacewirelight.c spacewirelight.h$(CC) $(CFLAGS) -c $<.PHONY: cleanclean:$(RM) spwltest.dsu spwltest.o spacewirelight.o
