Browse Source

Makefile added for compiling problems with pylab version

pull/19/head
asteinbe 4 years ago
parent
commit
55e3f029d8
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      okada/Makefile

+ 15
- 0
okada/Makefile View File

@ -0,0 +1,15 @@
libokada.so: libokada.o
gcc -shared -Wl,-soname,$@ -o $@ $< -lc
libokada.dll: libokada.c
cl /LD /DDLL $<
libokada.o: libokada.c
gcc -fpic -g -c -o $@ -O3 -march=native -mtune=native $<
clean:
rm -r -f build libokada.o libokada.so libokada.dll
.PHONY: clean
# vim:noexpandtab

Loading…
Cancel
Save