source: roaraudio/libroarmidi/Makefile @ 1930:928dcdc70472

Last change on this file since 1930:928dcdc70472 was 1930:928dcdc70472, checked in by phi, 15 years ago

added basic libroarmidi.c and Makefile for new libroarmidi

File size: 639 bytes
Line 
1include ../Makefile.conf
2
3SLIB=libroarmidi.so
4
5TARGETS=libroarmidi.so libroarmidi.a
6OBJS=libroarmidi.o
7
8#DEFINES        = -DDEBUG
9INCLUDE = -I../include -I../include/libroarmidi
10CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
11LDFLAGS = -g $(SHARED) -L../lib/ $(LDPATH)
12LIBS    = -lroardsp -lroar $(lib_dnet) $(lib_m)
13
14all: ${TARGETS}
15        rm -f ../lib/${SLIB} 2> /dev/null || true
16        cp $(cp_v) ${TARGETS} ../lib/
17clean:
18        rm -f ${TARGETS} *.o
19new: clean all
20
21libroarmidi.so: ${OBJS}
22        ${CC} ${LDFLAGS} -o libroarmidi.so ${OBJS} $(LIBS)
23libroarmidi.a: ${OBJS}
24        ${AR} cru libroarmidi.a ${OBJS}
25        ${RANLIB} libroarmidi.a
Note: See TracBrowser for help on using the repository browser.