/[cebix]/SIDPlayer/Makefile.BeOS
ViewVC logotype

Diff of /SIDPlayer/Makefile.BeOS

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by cebix, 2000-09-19T13:28:05Z revision 1.4 by cebix, 2000-10-10T21:57:19Z
# Line 4  Line 4 
4  ## makefile-engine will do all of the hard work for you.  This handles both  ## makefile-engine will do all of the hard work for you.  This handles both
5  ## Intel and PowerPC builds of the BeOS.  ## Intel and PowerPC builds of the BeOS.
6    
7  # Version number  # Get version number from configure.in
8  SP_VERSION = 4.0  version := $(shell grep <configure.in INIT_AUTOMAKE | sed -e 's/.*\[//' -e 's/\].*//')
9    
10  ## Application Specific Settings ---------------------------------------------  ## Application Specific Settings ---------------------------------------------
11    
# Line 33  TYPE=APP Line 33  TYPE=APP
33  #       if two source files with the same name (source.c or source.cpp)  #       if two source files with the same name (source.c or source.cpp)
34  #       are included from different directories.  Also note that spaces  #       are included from different directories.  Also note that spaces
35  #       in folder names do not work well with this makefile.  #       in folder names do not work well with this makefile.
36  SRCS=src/main.cpp src/cl_amp.cpp src/prefs.cpp src/prefs_window.cpp src/mem.cpp \  SRCS=src/main_beos.cpp src/main.cpp src/cl_amp.cpp src/prefs.cpp \
37    src/cpu.cpp src/sid.cpp    src/prefs_window.cpp src/mem.cpp src/cpu.cpp src/sid.cpp
38    
39  #       specify the resource files to use  #       specify the resource files to use
40  #       full path or a relative path to the resource file can be used.  #       full path or a relative path to the resource file can be used.
# Line 84  OPTIMIZE=FULL Line 84  OPTIMIZE=FULL
84  #       to use.  For example, setting DEFINES to "DEBUG=1" will cause the  #       to use.  For example, setting DEFINES to "DEBUG=1" will cause the
85  #       compiler option "-DDEBUG=1" to be used.  Setting DEFINES to "DEBUG"  #       compiler option "-DDEBUG=1" to be used.  Setting DEFINES to "DEBUG"
86  #       would pass "-DDEBUG" on the compiler's command line.  #       would pass "-DDEBUG" on the compiler's command line.
87  DEFINES=SID_PLAYER  DEFINES=SID_PLAYER VERSION=\"$(version)\"
88    
89  #       specify special warning levels  #       specify special warning levels
90  #       if unspecified default warnings will be used  #       if unspecified default warnings will be used
# Line 117  src/cpu_macros.h src/cpu_opcodes.h src/p Line 117  src/cpu_macros.h src/cpu_opcodes.h src/p
117          ln -s ../Frodo/src/$@ $@          ln -s ../Frodo/src/$@ $@
118    
119  # Create binary distribution  # Create binary distribution
120  DISTDIR = SIDPlayer-$(SP_VERSION)  distdir = SIDPlayer-$(version)
 ARCHIVE = SIDPlayer-$(SP_VERSION)-$(CPU).zip  
121  dist: $(TARGET)  dist: $(TARGET)
122          -rm -rf $(DISTDIR)          -rm -rf $(distdir)
123          mkdir $(DISTDIR)          mkdir $(distdir)
124          cp COPYING README $(DISTDIR)          cp COPYING README $(distdir)
125          cp $(TARGET) $(DISTDIR)/SIDPlayer          cp $(TARGET) $(distdir)/SIDPlayer
126          cp -R "PSID Demo" $(DISTDIR)          cp -R "PSID Demo" $(distdir)
127          rm -rf $(DISTDIR)/"PSID Demo/CVS"          rm -rf $(distdir)/"PSID Demo/CVS"
128          mimeset -f $(DISTDIR)          mimeset -f $(distdir)
129          zip -r $(ARCHIVE) $(DISTDIR)          zip -ry $(distdir)-$(CPU).zip $(distdir)
130          rm -rf $(DISTDIR)          rm -rf $(distdir)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.27