View | Details | Raw Unified
Collapse All | Expand All

(-) makefile.shared (-4 / +4 lines)
 Lines 83-89    Link Here 
objs: $(OBJECTS)
objs: $(OBJECTS)
$(LIBNAME):  $(OBJECTS)
$(LIBNAME):  $(OBJECTS)
	libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
	libtool --mode=link gcc $(LDFLAGS) *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
install: $(LIBNAME)
install: $(LIBNAME)
	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
 Lines 93-102    Link Here 
test: $(LIBNAME) demo/demo.o
test: $(LIBNAME) demo/demo.o
	gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o
	gcc $(CFLAGS) -c demo/demo.c -o demo/demo.o
	libtool --mode=link gcc -o test demo/demo.o $(LIBNAME_S)
	libtool --mode=link gcc $(LDFLAGS) -o test demo/demo.o $(LIBNAME_S)
	
	
mtest: test	
mtest: test	
	cd mtest ; gcc $(CFLAGS) mtest.c -o mtest
	cd mtest ; gcc $(CFLAGS) $(LDFLAGS) mtest.c -o mtest
        
        
timing: $(LIBNAME)
timing: $(LIBNAME)
	gcc $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest
	libtool --mode=link gcc $(CFLAGS) $(LDFLAGS) -DTIMER demo/timing.c $(LIBNAME_S) -o ltmtest