view Makefile @ 66:6c04d00e9db1 Octave-Forge-2004.07.07

Allow dist, distclean and clean targets to run without Makeconf. Replace include with sinclude in Makefiles. Build fixed and comm docs as part of dist target
author adb014
date Wed, 07 Jul 2004 09:38:51 +0000
parents a068bb570f2f
children 643cdaa28019
line wrap: on
line source

sinclude ../../Makeconf

ifdef HAVE_JPEG
	JPEG=jpgwrite.oct jpgread.oct
endif

ifdef HAVE_PNG
	PNG=pngread.oct pngwrite.oct
endif

all: conv2.oct cordflt2.oct bwlabel.oct bwfill.oct rotate_scale.oct \
	$(JPEG) $(PNG)

jpgread.oct: jpgread.cc
	$(MKOCTFILE) $< -ljpeg

jpgwrite.oct: jpgwrite.cc
	$(MKOCTFILE) $< -ljpeg

pngread.oct: pngread.cc
	$(MKOCTFILE) $< -lpng

pngwrite.oct:
	$(LN_S) pngread.oct $@

clean: ; -$(RM) *.o octave-core core *.oct *~