X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fvalerie%2FMakefile;h=6afae18766a263acfcbc238f8bdf11571cb44a69;hb=9390e8b584f3f717f0a326893c0e37cf187a0a51;hp=908c432f8f7a763afc5cc638340d3f419ca4e39b;hpb=661165812e3410fe2f6f49d7af882b36a0efcf82;p=melted diff --git a/src/valerie/Makefile b/src/valerie/Makefile index 908c432..6afae18 100644 --- a/src/valerie/Makefile +++ b/src/valerie/Makefile @@ -1,5 +1,5 @@ -AR = ar +TARGET = libvalerie.so OBJS = valerie.o \ valerie_notifier.o \ @@ -17,11 +17,10 @@ CFLAGS=-Wall -g -D_FILE_OFFSET_BITS=64 -pthread LDFLAGS=-ldv -lpthread -all: libvalerie.a +all: $(TARGET) -libvalerie.a: $(OBJS) - $(AR) rvu $@ $(OBJS) - ranlib $@ +$(TARGET): $(OBJS) + $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend @@ -30,7 +29,7 @@ dist-clean: clean rm -f .depend clean: - rm -f $(OBJS) libvalerie.a + rm -f $(OBJS) $(TARGET) ifneq ($(wildcard .depend),) include .depend