# # Copyright (C) 1997-2005, R3vis Corporation. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA, or visit http://www.gnu.org/copyleft/lgpl.html. # # Original Contributor: # Wes Bethel, R3vis Corporation, Marin County, California # Additional Contributor(s): # # The OpenRM project is located at http://openrm.sourceforge.net/. # # # $Id: Makefile.w32,v 1.5 2005/02/19 16:22:50 wes Exp $ # Version: $Name: OpenRM-1-6-0-RC5 $ # $Revision: 1.5 $ # $Log: Makefile.w32,v $ # Revision 1.5 2005/02/19 16:22:50 wes # Distro sync and consolidation. # # Revision 1.4 2005/01/23 17:00:22 wes # Copyright updated to 2005. # # Revision 1.3 2004/01/16 16:42:38 wes # Updated copyright line for 2004. # # Revision 1.2 2003/02/02 02:07:15 wes # Updated copyright to 2003. # # Revision 1.1.1.1 2003/01/28 02:15:23 wes # Manual rebuild of rm150 repository. # # Revision 1.8 2002/08/19 00:27:56 wes # Updated all Makefile.w32 files. # # Revision 1.7 2001/10/14 23:53:32 wes # Decomposed the make clean target into a bunch of separate delete commands. # This was required because not all Win32 systems are created equally, and # the make clean target was failing on some Win32 systems. # # Revision 1.6 2001/03/31 17:12:24 wes # v1.4.0-alpha-2 checkin. # # Revision 1.5 2000/12/03 22:35:38 wes # Mods for thread safety. # # Revision 1.4 2000/08/23 23:25:36 wes # Added EOF tag. # # Revision 1.3 2000/04/20 17:42:34 wes # Conditional creation of $RM/lib directory on build. # # Revision 1.2 2000/04/20 16:28:00 wes # Added -Y flag to makedepend. The result is a depend file that # includes dependencies ONLY from OpenRM source and header files, # so the depend file will be completely platform independent. We # lose dependencies upon system files, but this is viewed as an # acceptable loss (system files don't change that often). # # Revision 1.1.1.1 2000/02/28 21:29:40 wes # OpenRM 1.2 Checkin # # Revision 1.1.1.1 2000/02/28 17:18:48 wes # Initial entry - pre-RM120 release, source base for OpenRM 1.2. # # SHELL=/bin/sh include ../make.cfg include ./Make.sources OBJECTS = $(SOURCES:.c=.o) .c.o: $(CC) -I$(GLINC) -I$(PTHREADINC) $(CFLAGS) -I../include /Fo$@ $< default: @echo "Specify a target configuration" clean: -del *.o -del*~ -del TAGS -del vc* -del *.pdb -del *.idb -del *.lib -del *.dll pristine: -del *.o -del *.obj -del *~ -del TAGS -del *.bak -del depend* -del vc* -del *.lib -del *.pdb -del *.idb static-win32: $(OBJECTS) -del $(RMLIB).lib -del $(RMLIB).dll -mkdir $(LIBDIR) lib /out:$(RMLIB).lib $(OBJECTS) -copy $(RMLIB).lib $(LIBDIR) -del $(LIBDIR)\$(RMLIB).dll dynamic-win32: $(OBJECTS) -del $(RMLIB).lib -del $(RMLIB).dll $(CC) /nologo /LD /Fe$(RMLIB).dll $(OBJECTS) opengl32.lib glu32.lib kernel32.lib user32.lib gdi32.lib $(PTHREADSLIBS) -mkdir $(LIBDIR) -copy $(RMLIB).lib $(LIBDIR) -copy $(RMLIB).dll $(LIBDIR) dep: makedepend -Y -I../include *.c -f depend include depend # EOF