Skip to content

Commit

Permalink
cutdown target should remove .gitignore
Browse files Browse the repository at this point in the history
add default empty arch.make
  • Loading branch information
Toby White committed Jan 17, 2008
1 parent 7e9f4e6 commit 6c41d14
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ DoX:
(cd DoX; $(MAKE))
#
cutdown:
rm -rf DoX/ config/aclocal.m4 config/autom4te.cache config/configure.ac config/m4/ config/makefile examples/ m4/ */test/ */*.m4 Changelog RELEASE
rm -rf .gitignore DoX/ config/aclocal.m4 config/autom4te.cache config/configure.ac config/m4/ config/makefile examples/ m4/ */test/ */*.m4 Changelog RELEASE

cutdown-wxml: cutdown
rm -rf wcml/ sax/ dom/
Expand Down
42 changes: 42 additions & 0 deletions arch.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.SUFFIXES:
.SUFFIXES: .o .a .f90 .F90 .m4 .exe .xml

BUILD_TARGETS=wxml_lib wcml_lib sax_lib dom_lib

compile_prefix=/Users/tow/devel/FoX/objs
install_prefix=/usr/local
LIB_DIR=$(compile_prefix)/lib
MOD_DIR=$(compile_prefix)/finclude

FPP=
FC=g95
RANLIB=ranlib

FFLAGS=-g -O2
FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG
LDFLAGS=

FCFLAGS_free_f90=
FPPFLAGS_free_F90=

INC_PREFIX=-I
MOD_PREFIX=-I
LIB_PREFIX=-L
#
MOD_EXT=mod
MKDIR_P=/sw/bin/mkdir -p
INSTALL=/sw/bin/ginstall -c
OBJEXT=o
EXEEXT=
LIBEXT=a
LINK_O_FLAG=-o

#INCFLAGS must be set by the user makefile

#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $<

0 comments on commit 6c41d14

Please sign in to comment.