summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2005-12-21 14:54:37 +0000
committerAntonin Descampe <antonin@gmail.com>2005-12-21 14:54:37 +0000
commit69dcece31a3910dbba9d69019527123c3dffac0b (patch)
treedd86eaa4a35609368ea01de702c56f0311de2751 /Makefile
parent34c8a555fae47c62e3be26d39fad49cbfd8f0ed8 (diff)
makefiles and readme updated
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4041b2ba..ed5a0866 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,10 @@ default: all
all: dist
dist: OpenJPEG
- cp *.a dist
- cp *.so dist
- cp libopenjpeg/openjpeg.h dist
+ mkdir dist
+ cp *.a dist/
+ cp *.so dist/
+ cp libopenjpeg/openjpeg.h dist/
dos2unix:
@$(DOS2UNIX) $(SRCS) $(INCLS)
@@ -59,10 +60,13 @@ install:
ldconfig
clean:
- rm -f core dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
+ rm -rf core dist/ u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
osx:
make -f Makefile.osx
osxinstall:
make -f Makefile.osx install
+
+osxclean:
+ make -f Makefile.osx clean