head	1.1;
access;
symbols
	rel-0-3-0-rc1:1.1;
locks; strict;
comment	@# @;


1.1
date	2008.10.12.17.27.54;	author jeremybennett;	state Exp;
branches;
next	;
commitid	6d5848f2328c4567;


desc
@@


1.1
log
@These are all the changes for Or1ksim 0.3.0 release candidate 1. The changes
are explained in the NEWS, README and ChangeLog files. A number of
long-standing bugs are fixed (see the OpenRISC tracker), and the code is
brought up to a consistent standard, following the GNU coding conventions
throughout.

Argument parsing now uses argtable2, and a User Guide has been added.
Documentation throughout has been extended to be compatible with Doxygen,
providing a further level of technical detail on the internals.
@
text
@# This Makefile is for building argtable2 with Microsoft Visual C.
# To build a relase version execute
#    NMAKE /f Makefile.nmake
# or for a debug version execute 
#    NMAKE /f Makefile.nmake DEBUG=1

# On Unix and Mac OS X systems the configure script generates a config.h
# file that defines various macros that control which header files are
# included by the source code files on a given platform.
# As the configure script does not work on Windows platforms the config.h
# file is missing and so you must define the appropriate macros manually.
# The macros required for Windows are: STDC_HEADERS, HAVE_STDLIB_H, and
# HAVE_STRING_H. 
# Rather than hand craft a config.h file we just define them here in CFLAGS
# for convenience.
CFLAGS = /W4 /D "WIN32" /D "_MBCS" /D "STDC_HEADERS" /D "HAVE_STDLIB_H" /D "HAVE_STRING_H" /nologo 

!IF "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS) /D "_DEBUG" /Od /MLd /RTC1 /ZI
!ELSE
CFLAGS = $(CFLAGS) /D "NDEBUG" /O2 /ML /GS /Zi
!ENDIF
  
all: argtable2.lib argtable2.dll

# Note: arg_date.obj and arg_rex.obj do not compile under Microsoft and have been omitted from the library
OBJS = argtable2.obj arg_dbl.obj arg_end.obj arg_file.obj arg_int.obj arg_lit.obj arg_rem.obj arg_str.obj getopt.obj getopt1.obj

$(OBJS): argtable2.h getopt.h

argtable2.lib: $(OBJS)
	LIB /OUT:$@@ $**

argtable2.dll: $(OBJS)
	link /DLL /OUT:$@@ $** /IMPLIB:impargtable2.lib /def:argtable2.def
    
clean:
	del *.exe *.lib *.obj *.idb *.pdb *.dll *.exp
@
