ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/src/Makefile
(Generate patch)

Comparing SIDPlayer/src/Makefile (file contents):
Revision 1.1.1.1 by cebix, 2000-07-28T12:42:29Z vs.
Revision 1.3 by cebix, 2000-09-19T13:27:50Z

# Line 4 | Line 4
4   ## makefile-engine will do all of the hard work for you.  This handles both
5   ## Intel and PowerPC builds of the BeOS.
6  
7 + # Version number
8 + SP_VERSION = 4.0
9 +
10   ## Application Specific Settings ---------------------------------------------
11  
12   # specify the name of the binary
# Line 104 | Line 107 | COMPILER_FLAGS =
107   #       specify additional linker flags
108   LINKER_FLAGS =
109  
107
110   ## include the makefile-engine
111   include /boot/develop/etc/makefile-engine
112  
111
113   # Create links to Frodo sources
114   main.cpp: cpu_macros.h cpu_opcodes.h prefs.h sid.cpp
115   cpu_macros.h cpu_opcodes.h prefs.h sid.cpp:
116          ln -s ../../Frodo/src/$@ $@
117  
118 < # Create distribution
119 < BUILD_DIR = /tmp/$(NAME)
120 < ARCHIVE_NAME = SIDPlayer_4.0_$(CPU).zip
121 < dist:
122 <        mkdir $(BUILD_DIR)
123 <        mkdir $(BUILD_DIR)/src
124 <        cp *.cpp *.h Makefile $(BUILD_DIR)/src
125 <        cp -R clamp_includes $(BUILD_DIR)/src
126 <        cp SIDPlayer.rsrc $(BUILD_DIR)/src
127 <        cp obj.$(CPU)/$(NAME) $(BUILD_DIR)
128 <        cp -R "../PSID Demo" $(BUILD_DIR)
129 <        cp ../COPYING ../README $(BUILD_DIR)
130 <        mimeset -f $(BUILD_DIR)
131 <        (cd /tmp; zip -r $(ARCHIVE_NAME) $(NAME))
132 <        mv /tmp/$(ARCHIVE_NAME) $(ARCHIVE_NAME)
133 <        rm -rf $(BUILD_DIR)
118 > # Create binary distribution
119 > DISTDIR = SIDPlayer-$(SP_VERSION)
120 > ARCHIVE = SIDPlayer-$(SP_VERSION)-$(CPU).zip
121 > dist: $(TARGET)
122 >        -rm -rf $(DISTDIR)
123 >        mkdir $(DISTDIR)
124 >        cp ../COPYING ../README $(DISTDIR)
125 >        cp $(TARGET) $(DISTDIR)/SIDPlayer
126 >        cp -R "../PSID Demo" $(DISTDIR)
127 >        rm -rf $(DISTDIR)/"PSID Demo/CVS"
128 >        mimeset -f $(DISTDIR)
129 >        zip -r $(ARCHIVE) $(DISTDIR)
130 >        rm -rf $(DISTDIR)
131 >
132 > # Create source distribution
133 > SRCARCH = SIDPlayer-$(SP_VERSION).tar.gz
134 > srcdist: $(SRCS)
135 >        -rm -rf $(SRCARCH)
136 >        mkdir $(DISTDIR)
137 >        mkdir $(DISTDIR)/src
138 >        cp ../COPYING ../README $(DISTDIR)
139 >        cp *.cpp *.h Makefile $(DISTDIR)/src
140 >        cp -R clamp_includes $(DISTDIR)/src
141 >        cp SIDPlayer.rsrc $(DISTDIR)/src
142 >        cp -R "../PSID Demo" $(DISTDIR)
143 >        rm -rf $(DISTDIR)/"PSID Demo/CVS"
144 >        tar cfvz $(SRCARCH) $(DISTDIR)
145 >        rm -rf $(DISTDIR)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines