Changeset 0529a19 in buchla-emu for Makefile


Ignore:
Timestamp:
10/26/2017 08:04:09 PM (6 years ago)
Author:
Alexander Heinrich <alex.heinrich@…>
Branches:
master
Children:
5326a5e
Parents:
0d83ce8
Message:

Add basic handling of midi input.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r0d83ce8 r0529a19  
    33ifndef WIN
    44GCC :=                  gcc
     5GPP :=                  g++
    56SDL2 :=                 /opt/sdl2
     7RTMIDI :=               /opt/rtmidi
    68EXT :=
    79else
     
    1416SDL2_LIB :=             $(SDL2)/lib
    1517
     18RTMIDI_INC :=   $(RTMIDI)/include
     19RTMIDI_LIB :=   $(RTMIDI)/lib
     20
    1621FLAGS :=                -std=c99 -O2 -gdwarf-4
    1722
     
    2328                                -Wpedantic -Wconversion -Wsign-conversion -Wshadow \
    2429                                -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls \
    25                                 -I cpu -I emu -I build -I $(SDL2_INC)
     30                                -I cpu -I emu -I build -I $(SDL2_INC) -I $(RTMIDI_INC)
    2631
    2732FLAGS_AUX :=    $(FLAGS) -Wall -Wextra \
     
    3742                                $(SDL2_LIB)/libSDL2_ttf.a \
    3843                                $(SDL2_LIB)/libfreetype.a \
     44                                $(RTMIDI_LIB)/librtmidi.a \
    3945                                -ldl -lm
    4046endif
     
    4753                                $(SDL2_LIB)/libSDL2_ttf.a \
    4854                                $(SDL2_LIB)/libfreetype.a \
     55                                $(RTMIDI_LIB)/librtmidi.a \
    4956                                -framework AppKit \
    5057                                -framework AudioToolbox \
    5158                                -framework Carbon \
     59                                -framework CoreMIDI \
    5260                                -framework CoreAudio \
    5361                                -framework CoreFoundation \
     
    116124
    117125buchla$(EXT):   $(CPU_OP) $(GEN_OP)     $(EMU_OP)
    118                                 $(GCC) $(FLAGS_LNK) -o buchla$(EXT) \
     126                                $(GPP) $(FLAGS_LNK) -o buchla$(EXT) \
    119127                                $(CPU_OP) $(GEN_OP) $(EMU_OP) \
    120128                                $(LIBS)
Note: See TracChangeset for help on using the changeset viewer.