|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #!/usr/bin/make -f
- # Makefile for juce_audio_basics #
- # ------------------------------ #
- # Created by falkTX
- #
-
- include ../../Makefile.mk
-
- # --------------------------------------------------------------
-
- BUILD_CXX_FLAGS += $(JUCE_AUDIO_BASICS_FLAGS) -I. -w
-
- # --------------------------------------------------------------
-
- ifeq ($(MACOS),true)
- OBJS = juce_audio_basics.mm.o
- OBJS_posix32 = juce_audio_basics.mm.posix32.o
- OBJS_posix64 = juce_audio_basics.mm.posix64.o
- else
- OBJS = juce_audio_basics.cpp.o
- OBJS_posix32 = juce_audio_basics.cpp.posix32.o
- OBJS_posix64 = juce_audio_basics.cpp.posix64.o
- endif
- OBJS_win32 = juce_audio_basics.cpp.win32.o
- OBJS_win64 = juce_audio_basics.cpp.win64.o
-
- # --------------------------------------------------------------
-
- all: ../juce_audio_basics.a
- posix32: ../juce_audio_basics.posix32.a
- posix64: ../juce_audio_basics.posix64.a
- win32: ../juce_audio_basics.win32.a
- win64: ../juce_audio_basics.win64.a
-
- # --------------------------------------------------------------
-
- clean:
- $(RM) *.o ../juce_audio_basics*.a
-
- debug:
- $(MAKE) DEBUG=true
-
- # --------------------------------------------------------------
-
- ../juce_audio_basics.a: $(OBJS)
- $(RM) $@
- $(AR) crs $@ $^
-
- ../juce_audio_basics.posix32.a: $(OBJS_posix32)
- $(RM) $@
- $(AR) crs $@ $^
-
- ../juce_audio_basics.posix64.a: $(OBJS_posix64)
- $(RM) $@
- $(AR) crs $@ $^
-
- ../juce_audio_basics.win32.a: $(OBJS_win32)
- $(RM) $@
- $(AR) crs $@ $^
-
- ../juce_audio_basics.win64.a: $(OBJS_win64)
- $(RM) $@
- $(AR) crs $@ $^
-
- # --------------------------------------------------------------
-
- CPP_DEPS = juce_audio_basics.cpp juce_audio_basics.h AppConfig.h */*.cpp */*.h
-
- juce_audio_basics.cpp.o: $(CPP_DEPS)
- $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
-
- juce_audio_basics.cpp.%32.o: $(CPP_DEPS)
- $(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -c -o $@
-
- juce_audio_basics.cpp.%64.o: $(CPP_DEPS)
- $(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
-
- MM_DEPS = juce_audio_basics.mm juce_audio_basics.h AppConfig.h */*.mm */*.cpp */*.h
-
- juce_audio_basics.mm.o: $(MM_DEPS)
- $(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ -c -o $@
-
- juce_audio_basics.mm.%32.o: $(MM_DEPS)
- $(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ $(32BIT_FLAGS) -c -o $@
-
- juce_audio_basics.mm.%64.o: $(MM_DEPS)
- $(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ $(64BIT_FLAGS) -c -o $@
-
- # --------------------------------------------------------------
|