Browse Source

Add Makefile

suites/jessie
nextime 6 years ago
parent
commit
592dcc2e3b
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      Makefile

+ 11
- 0
Makefile View File

@@ -0,0 +1,11 @@
all:
gcc -Wall -D_GNU_SOURCE -fpic -shared -o pinthread.so pinthread.c -ldl -lpthread
gcc -Wall -lpthread dotprod_mutex.c -o dotprod_mutex

install:
install -m 0644 pinthread.so /usr/lib
ldconfig

clean:
rm -f pinthread.so
rm -f dotprod_mutex

Loading…
Cancel
Save