From b254df74ef77729d33f82a5bdae24847dccf238e Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 26 Mar 2008 13:20:56 +0000 Subject: --- tools/Makefile.mingw | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tools/Makefile.mingw (limited to 'tools/Makefile.mingw') 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 +# Stéphane Chatty +# +# $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 + + -- cgit v1.1