/* $Id: Imakefile,v 1.1 2002/03/22 23:36:34 mjhammel Exp $ */ /*======================================================================== * Copyright 2001 Michael J. Hammel *======================================================================== * FILE NAME: Imakefile * DESCRIPTION: imake configuration file for GFXMuse tools * SOFTWARE DEPENDENCIES: imake * NOTES: set tabstops=3 for readibility * * SPECIAL CONSIDERATIONS: *======================================================================== * * MODIFICATION HISTORY: * $Log: Imakefile,v $ * Revision 1.1 2002/03/22 23:36:34 mjhammel * Added twist to modified source directory. * * Revision 1.1 2002/03/22 23:35:57 mjhammel * Added twist to multifile directory. * * Revision 1.1.1.1 2002/02/01 14:38:49 mjhammel * Initial Checkin * *========================================================================*/ #include "../../config.h" #include "../../gfxmuse.tmpl" /* * Directories */ USRLIBDIR = ../../lib-d /* where the library goes */ BINDIR = ../../cd/plug-ins /* * Include files */ DBGHDR = . PRJHDR = ../../hdrs-d /* Project level header files */ PRGHDR = hdrs-d /* Program level header files */ GIMPHDR = `gimptool --cflags` CFLAGS = $(GIMPHDR) /* * Libraries */ SYS_LIBRARIES = `gimptool --libs` /* system specific libs */ LOCAL_LIBRARIES = LIBS = $(SYS_LIBRARIES) $(LOCAL_LIBRARIES) /* * Options needed when building the object modules and the final programs */ OBJECTOPTIONS = -g -Wall -c -O2 LDOPTIONS = /* * Source files: this directory has one source file per program */ SRCS= twist.c /* * Object files - path relative to current directory */ OBJS= twist.o /* * Programs */ PROG=twist /*======================================================================== * Modified clean command to remove cscope files, if any, plus a few other * things. */ cleandir:: $(RM) $(PROGRAMS) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.Dat *.out /* * Let imake take care of most of this. */ AllTarget($(PROG)) ComplexProgramTarget($(PROG)) /*======================================================================== * Put all the binaries into a common directory. */ InstallMultiple($(PROG), $(BINDIR))