source: trunk/tools/database/gd/Makefile.icc@ 10366

Last change on this file since 10366 was 4712, checked in by bird, 25 years ago

New makefile style.

File size: 1.4 KB
Line 
1#Depending on your system, you will need to modify this makefile.
2
3#If you do not have gcc, change the setting for CC, but you must
4#use an ANSI standard C compiler (NOT the old SunOS 4.1.3 cc
5#compiler; get gcc if you are still using it).
6
7#If the ar command fails on your system, consult the ar manpage
8#for your system.
9
10
11ODIN32_TOOLS = ..\..\bin
12!include ../../../makefile.inc
13
14
15AR = ilib /nologo
16CFLAGS = $(CFLAGS) -Wcnd- -Ge+ -Tx+
17LD = $(LD) $(LDFLAGS) -Ge+
18
19LIBS = gdicc.lib
20
21all: gdicc.lib gddemo.exe giftogd.exe webgif.exe
22
23
24gdicc.lib: gd.obj gdfontt.obj gdfonts.obj gdfontmb.obj gdfontl.obj gdfontg.obj \
25 gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
26 @$(RM) $@
27 $(AR) $@ +gd.obj +gdfontt.obj +gdfonts.obj +gdfontmb.obj \
28 +gdfontl.obj +gdfontg.obj, NUL
29
30gddemo.exe: gddemo.obj gdicc.lib gd.h gdfonts.h gdfontl.h
31 $(LD) gddemo.obj -Fe$@ $(LIBS)
32
33giftogd.exe: giftogd.obj gdicc.lib gd.h
34 $(LD) giftogd.obj -Fe$@ $(LIBS)
35
36webgif.exe: webgif.obj gdicc.lib gd.h
37 $(LD) webgif.obj -Fe$@ $(LIBS)
38
39dep:
40 @nmake /nologo -f makefile NODEP=1 dep
41
42clean:
43 @$(RM) *.obj *.exe *.map gdicc.lib cset*.pch
44
45#
46# Include the .depend file.
47# If the depend file don't exists we'll complain about it.
48#
49!ifndef NODEP
50! if [$(EXISTS) .depend] == 0
51! include .depend
52! else
53! if [$(ECHO) .depend doesn't exist]
54! endif
55! endif
56!endif
57
Note: See TracBrowser for help on using the repository browser.