b244f636f2
Obtained from: http://stian.cubic.org/blog-20100422.php
38 lines
916 B
Text
38 lines
916 B
Text
--- ./stsoundlib/Makefile.orig 2010-04-23 13:49:47.000000000 +0200
|
|
+++ ./stsoundlib/Makefile 2010-04-23 13:49:47.000000000 +0200
|
|
@@ -1,28 +1,28 @@
|
|
-CC = g++
|
|
+CXX ?= g++
|
|
AR = ar cr
|
|
RM = rm -f
|
|
|
|
LIB = digidrum.o Ymload.o Ym2149Ex.o YmMusic.o YmUserInterface.o
|
|
|
|
-CFLAGS = -Wall
|
|
+CFLAGS ?= -Wall
|
|
|
|
libym.a: $(LIB)
|
|
$(AR) libym.a $(LIB)
|
|
|
|
digidrum.o: digidrum.cpp YmTypes.h
|
|
- $(CC) -c digidrum.cpp
|
|
+ $(CXX) $(CXXFLAGS) -c digidrum.cpp
|
|
|
|
Ym2149Ex.o: Ym2149Ex.cpp Ym2149Ex.h YmTypes.h
|
|
- $(CC) -c Ym2149Ex.cpp
|
|
+ $(CXX) $(CXXFLAGS) -c Ym2149Ex.cpp
|
|
|
|
Ymload.o: Ymload.cpp YmMusic.h lzh/lzh.h
|
|
- $(CC) -c Ymload.cpp
|
|
+ $(CXX) $(CXXFLAGS) -c Ymload.cpp
|
|
|
|
YmMusic.o: YmMusic.cpp YmMusic.h
|
|
- $(CC) -c YmMusic.cpp
|
|
+ $(CXX) $(CXXFLAGS) -c YmMusic.cpp
|
|
|
|
YmUserInterface.o: YmUserInterface.cpp StSoundLibrary.h YmMusic.h
|
|
- $(CC) -c YmUserInterface.cpp
|
|
+ $(CXX) $(CXXFLAGS) -c YmUserInterface.cpp
|
|
|
|
clean:
|
|
$(RM) *~ *.o *.a
|