Changeset 4437:a2b1b5cab712 in roaraudio


Ignore:
Timestamp:
10/09/10 15:28:52 (8 years ago)
Author:
phi
Branch:
default
Message:

expose some vars from Makefile.conf to C as defines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/Makefile

    r4373 r4437  
    1616#DEFINES        = -DDEBUG 
    1717#DEFINES        = -DMONITOR_LATENCY 
     18PKGDEFINES= -DPACKAGE_VERSION="$(VERSION)" -DDEVICE_VENDOR_ID=$(DEV_VENDOR) -DDEVICE_VENDOR_NAME="$(DEV_VENDOR_NAME)" -DDEVICE_VENDOR_STRING="$(DEV_VENDOR_STRING)" 
    1819INCLUDE   = -I../include -I./include 
    19 CFLAGS   += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) 
     20CFLAGS   += -g -Wall -O2 $(DEFINES) $(PKGDEFINES) $(INCLUDE) $(INCPATH) 
    2021LDFLAGS   = -g -rdynamic -L../lib/ $(LDPATH) 
    2122DRVLIBS   = $(lib_esd) $(lib_ossaudio) $(lib_ao) $(lib_shout) $(lib_sndio) $(lib_rsound) $(lib_portaudio) $(lib_pablio) $(lib_asound) $(lib_winmm) $(lib_pulse_simple) 
Note: See TracChangeset for help on using the changeset viewer.