view libcruft/misc/Makefile.in @ 2466:1573640a9994

[project @ 1996-11-04 03:56:11 by jwe]
author jwe
date Mon, 04 Nov 1996 03:56:17 +0000
parents a28ed603c65c
children 8ddee13d19f9
line wrap: on
line source

#
# Makefile for octave's libcruft/misc directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ../..

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

SPECIAL := machar.c d1mach-tst.for dostop.c f77-extern.cc lo-error.cc

SPECIAL_DEPEND := d1mach.o machar.o dostop.o f77-extern.o lo-error.o

EXTERNAL_DISTFILES = $(DISTFILES)

include $(TOPDIR)/Makeconf

ifeq ($(SHARED_LIBS), true)
  ifdef CPICFLAG
    CPICDEP := pic/machar.o pic/dostop.o
  endif
  ifdef CXXPICFLAG
    CXXPICDEP := pic/f77-extern.o pic/lo-error.o
  endif
  SPECIAL_PICDEPEND := $(CPICDEP) $(CXXPICDEP)
endif

include ../Makerules

# Don't optimize.

XCC = $(patsubst -O%, , $(CC))
XALL_CFLAGS = $(patsubst -O%, , $(ALL_CFLAGS))

machar.o: $(srcdir)/machar.c
	$(XCC) -c $(CPPFLAGS) $(XALL_CFLAGS) -DDP $<

pic/machar.o: $(srcdir)/machar.c
	$(XCC) -c $(CPPFLAGS) $(XALL_CFLAGS) -DDP $< -o $@