diff options
author | bustico | 2008-03-26 13:20:56 +0000 |
---|---|---|
committer | bustico | 2008-03-26 13:20:56 +0000 |
commit | b254df74ef77729d33f82a5bdae24847dccf238e (patch) | |
tree | 7757a901df6e1492a2d145f030647231cd8c8da9 /tools/Makefile.mingw | |
parent | 6b7d6cb40d317bee3cc174f22547065d29e8c737 (diff) | |
download | ivy-c-b254df74ef77729d33f82a5bdae24847dccf238e.zip ivy-c-b254df74ef77729d33f82a5bdae24847dccf238e.tar.gz ivy-c-b254df74ef77729d33f82a5bdae24847dccf238e.tar.bz2 ivy-c-b254df74ef77729d33f82a5bdae24847dccf238e.tar.xz |
Diffstat (limited to 'tools/Makefile.mingw')
-rw-r--r-- | tools/Makefile.mingw | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tools/Makefile.mingw b/tools/Makefile.mingw new file mode 100644 index 0000000..8fd66a7 --- /dev/null +++ b/tools/Makefile.mingw @@ -0,0 +1,59 @@ +# +# Ivy, C interface +# +# Copyright (C) 1997-2002 +# Centre d'Études de la Navigation Aérienne +# +# Makefile +# +# Authors: François-Régis Colin <fcolin@cena.fr> +# Stéphane Chatty <chatty@cena.fr> +# +# $Id: Makefile.mingw 3061 2007-02-13 08:35:08Z fourdan $ +# +# Please refer to file version.h for the +# copyright notice regarding this software +# + + +RM=del +#RM=rm -f +XTINC = +XTLIB = +GTKINC = `gtk-config --cflags` +GTKLIB = `gtk-config --libs` +GLUTINC = -I/usr/include -I. +GLUTLIB = -L. +TCLINCL = -I/usr/include/tcl8.4 +TCLLIB = -ltcl84 +EXTRALIB= -L../src +EXTRAINC=-I../src + + +CC=gcc +CFLAGS = -g +# IVY full debug +#CFLAGS = -g -DDEBUG +TARGETS = ivyprobe +# not yiet ivygtkprobe ivyxtprobe need Modified Glut ivyglutprobe + +.c.o: + $(CC) $(CFLAGS) $(EXTRAINC) -c $*.c + +all: $(TARGETS) + +ivyprobe: ivyprobe.o ../src/libivy.a + (CC) $(CFLAGS) $(EXTRAINC) -o $@ ivyprobe.o -L. -livy $(PCRELIB) $(EXTRALIB) + +clean: + -$(RM) $(TARGETS) *.o *.a *.so *.so.* *~ + +install: installbins + +installbins: commands + test -d $(PREFIX)/usr/bin || mkdirhier $(PREFIX)/usr/bin + test -d $(PREFIX)/usr/X11R6/bin || mkdirhier $(PREFIX)/usr/X11R6/bin + install -m755 ivyprobe $(PREFIX)/usr/bin +# install -m755 ivyglutprobe $(PREFIX)/usr/X11R6/bin + + |