Skip to content

Commit

Permalink
makefile updates
Browse files Browse the repository at this point in the history
Ignore-this: 287fa4031cf5051f641bf048dfa09700

darcs-hash:20130301022125-c8de0-5da9673667d2453a16d82da5844b4b14ef331be6
  • Loading branch information
stevengj committed Mar 1, 2013
1 parent 27b9d5c commit 7c80574
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,23 @@ dist:
(d=cubature-`date +%Y%m%d`; rm -rf $$d $$d.tgz; mkdir $$d; cp $(FILES) $$d; tar czf $$d.tgz $$d; rm -rf $$d)

clean:
rm -f htest ptest clencurt_gen
rm -f htest ptest clencurt_gen *.o

dll32:
make clean
i586-mingw32msvc-gcc -c -O3 hcubature.c
i586-mingw32msvc-gcc -c -O3 pcubature.c
i586-mingw32msvc-gcc -shared -o libcubature32.dll \
-Wl,--export-all-symbols hcubature.o pcubature.o
make clean

dll64:
make clean
amd64-mingw32msvc-gcc -c -O3 hcubature.c
amd64-mingw32msvc-gcc -c -O3 pcubature.c
amd64-mingw32msvc-gcc -shared -o libcubature64.dll \
-Wl,--export-all-symbols hcubature.o pcubature.o
make clean

maintainer-clean:
make clean
Expand Down

0 comments on commit 7c80574

Please sign in to comment.