Changeset 1758:a21eedb56e90 in roaraudio


Ignore:
Timestamp:
05/19/09 00:47:15 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

also build a static version of the lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/Makefile

    r1757 r1758  
    11include ../Makefile.conf 
    22 
    3 TARGETS=libroarsndio.so 
     3SLIB=libroarsndio.so 
     4 
     5TARGETS=$(SLIB) libroarsndio.a 
    46OBJS=libroarsndio.o para.o stream.o events.o volume.o 
    57 
     
    1113 
    1214all: ${TARGETS} 
     15        rm -f ../lib/${SLIB} 2> /dev/null || true 
    1316        cp $(cp_v) ${TARGETS} ../lib/ 
    1417clean: 
     
    1821libroarsndio.so: ${OBJS} 
    1922        ${CC} ${LDFLAGS} -o libroarsndio.so ${OBJS} ${LIBS} 
     23libroarsndio.a: ${OBJS} 
     24        ${AR} cru libroarsndio.a ${OBJS} 
Note: See TracChangeset for help on using the changeset viewer.