URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [mw/] [src/] [ecos/] [Makefile] - Rev 1765
Compare with Previous | Blame | View Log
############################################################################### Microwindows template Makefile# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr##############################################################################include $(CONFIG)######################## Additional Flags section ############################# Directories list for header filesINCLUDEDIRS +=# Defines for preprocessorDEFINES +=# Compilation flags for C files OTHER than include directoriesCFLAGS +=# Preprocessor flags OTHER than definesCPPFLAGS +=# Linking flagsLDFLAGS += -Wl,--gc-sections -Wl,-static -Wl,-N -g -O2 -nostdlib -L$(ECOS_PREFIX)/lib -Ttarget.ld############################# targets section ################################# If you want to create a library with the objects files, define the name hereLIBNAME =LIBNAMESO =# List of objects to compileOBJS = ecos_app.o ecos_init.oNANO_OBJS =DEFINES += -DUSE_ROMDISKOBJS += nanox_thread.oNANO_OBJS += $(TOP)/bin/nano-X.o $(TOP)/bin/nwidgets.oOBJS += nanowm_thread.oNANO_OBJS += $(TOP)/bin/nanowm.oOBJS += nxkbd_thread.oNANO_OBJS += $(TOP)/bin/nxkbd.oDEFINES += -DUSE_NXSCRIBBLEOBJS += nxscribble_thread.oNANO_OBJS += $(TOP)/bin/nxscribble.oDEFINES += -DUSE_LANDMINEOBJS += landmine_thread.oNANO_OBJS += $(TOP)/bin/landmine.oDEFINES += -DUSE_NTETRISOBJS += ntetris_thread.oNANO_OBJS += $(TOP)/bin/ntetris.oDEFINES += -DUSE_WORLDOBJS += world_thread.oNANO_OBJS += $(TOP)/bin/world.o# demos should be built after the libs !all: ecos_app######################### Makefile.rules section #############################include $(TOP)/Makefile.rules######################## Tools targets section ###############################ecos_app: $(OBJS) $(NANO_OBJS)ecos_app.o: Makefile
