aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/projectM/cwrapper/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/projectM/cwrapper/Makefile.in')
-rw-r--r--src/lib/projectM/cwrapper/Makefile.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/lib/projectM/cwrapper/Makefile.in b/src/lib/projectM/cwrapper/Makefile.in
new file mode 100644
index 00000000..d2be8613
--- /dev/null
+++ b/src/lib/projectM/cwrapper/Makefile.in
@@ -0,0 +1,30 @@
+OBJECTS = projectM-cwrapper.o
+LIBRARY = libprojectM-cwrapper.a
+
+CXX = @CXX@
+CXXFLAGS += @CXXFLAGS@
+INCLUDES = -I@libprojectM_INCLUDEDIR@/libprojectM
+DEFINES = -DPROJECTM_VERSION_INT=@libprojectM_VERSION_INT@
+RANLIB = @RANLIB@
+
+.PHONY: all clean distclean strip
+
+all : $(LIBRARY)
+
+$(LIBRARY): $(OBJECTS)
+ ar ruv $(LIBRARY) $(OBJECTS)
+ $(RANLIB) $(LIBRARY)
+
+%.o : %.cpp
+ $(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -c $(<) -o $@
+
+clean :
+ rm -f $(LIBRARY)
+ rm -f $(OBJECTS)
+
+distclean: clean
+ rm -rf Makefile
+
+strip :
+ strip $(LIBRARY)
+ $(RANLIB) $(LIBRARY)