diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-02-13 08:49:00 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-02-13 08:49:00 +0000 |
| commit | dcc6f679bc82055dca47654c562af27701b5da7c (patch) | |
| tree | 2b3d0cec056b62e3dd28b9e8d1ed3f2842574830 /Makefile | |
| parent | 3f5e8eb92b5c011fe679308b65a049dba4f0eb89 (diff) | |
Change file modified. -fPIC flag used for 64-bit compilation. Move operation (rather than copy) for the dist library creation, and -p flag added.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -16,7 +16,7 @@ INSTALLDIR = /usr/lib # Converts cr/lf to just lf DOS2UNIX = dos2unix -COMPILERFLAGS = -O3 +COMPILERFLAGS = -O3 -fPIC LIBRARIES = -lstdc++ MODULES = $(SRCS:.c=.o) @@ -34,10 +34,10 @@ default: all all: dist dist: OpenJPEG - mkdir dist - cp *.a dist/ - cp *.so dist/ - cp libopenjpeg/openjpeg.h dist/ + mkdir -p dist + cp *.a dist + mv *.so dist + cp libopenjpeg/openjpeg.h dist dos2unix: @$(DOS2UNIX) $(SRCS) $(INCLS) |
