1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
# Copyright 2009
# Kaz Kylheku <kkylheku@gmail.com>
# Vancouver, Canada
# All rights reserved.
#
# BSD License:
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
CC = cl
CFLAGS = /nologo /Za /W3 /Ox
project: tdict.exe tlist.exe thash.exe teh.exe tsfx.exe
tlist.exe: list.c list.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN /Fotlist.obj /Fetlist.exe list.c
tdict.exe: dict.c dict.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN /Fotdict.obj /Fetdict.exe dict.c
thash.exe: hash.c hash.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN /Fothash.obj /Fethash.exe hash.c
teh.exe: except.c except.h
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN /Foteh.obj /Feteh.exe except.c
tsfx.exe: sfx.c sfx.h except.obj hash.obj
$(CC) $(CFLAGS) -DKAZLIB_TEST_MAIN /Fotsfx.obj /Fetsfx.exe sfx.c except.obj hash.obj
docs: docs.dvi
docs.dvi: docs.ltx docs.toc docs.ind
latex docs.ltx
docs.ind: docs.idx docs.ist
makeindex -s docs.ist docs.idx
docs.toc: docs.ltx
latex docs.ltx
docs.idx: docs.ltx
latex docs.ltx
clean:
-del tags tlist.exe tdict.exe thash.exe teh.exe tsfx.exe except.obj docs.aux docs.log docs.dvi docs.toc docs.idx docs.ind docs.ilg
except.obj: except.c except.h
$(CC) $(CFLAGS) /c except.c
hash.obj: hash.c hash.h
$(CC) $(CFLAGS) /c hash.c
|