URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [mw/] [src/] [demos/] [nxroach/] [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 += -I./bitmaps# Preprocessor flags OTHER than definesCPPFLAGS +=# Linking flagsLDFLAGS += -lm############################# targets section ################################ifeq ($(NANOWM), Y)# If you want to create a library with the objects files, define the name hereLIBNAME =# List of objects to compileOBJS = nxroach.oall: default $(TOP)/bin/nxroachendif######################### Makefile.rules section #############################include $(TOP)/Makefile.rules######################## Tools targets section ###############################ifeq ($(SHAREDLIBS), Y)$(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)else$(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)endif
