summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index d4719ac..430a48d 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,4 @@
-LIBNAME = add
+LIBNAME = mul
all: lib$(LIBNAME).so test$(LIBNAME)
@@ -8,12 +8,12 @@ $(LIBNAME).o: $(LIBNAME).h $(LIBNAME).c
lib$(LIBNAME).so: $(LIBNAME).o
gcc -shared -o lib$(LIBNAME).so $(LIBNAME).o
-test$(LIBNAME): lib$(LIBNAME).so main.c add.h
+test$(LIBNAME): lib$(LIBNAME).so main.c mul.h
gcc -Wall -L$(PWD) -Wl,-rpath=$(PWD) -o $@ main.c -l$(LIBNAME) -g
install:
- cp add.h ../thirdparty/linux/include/
- cp libadd.so ../thirdparty/linux/lib/x64/
+ cp mul.h ../thirdparty/linux/include/
+ cp libmul.so ../thirdparty/linux/lib/x64/
.PHONY: clean
clean: