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

Last change on this file since 1036 was 829, checked in by bird, 26 years ago

gifdraw (gd) v1.2 - initial checkin.

File size: 1.2 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
11# common include directory
12PDWIN32_INCLUDE = ..\..\..\include
13!include $(PDWIN32_INCLUDE)\pdwin32.mk
14
15
16AR = ilib /nologo
17CFLAGS = $(CFLAGS) -Wcnd- -Ge+ -Tx+
18LD = $(LD) $(LDFLAGS) -Ge+
19
20LIBS = gdicc.lib
21
22all: gdicc.lib gddemo.exe giftogd.exe webgif.exe
23
24
25gdicc.lib: gd.obj gdfontt.obj gdfonts.obj gdfontmb.obj gdfontl.obj gdfontg.obj \
26 gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
27 -@$(RM) $@
28 $(AR) $@ +gd.obj +gdfontt.obj +gdfonts.obj +gdfontmb.obj \
29 +gdfontl.obj +gdfontg.obj, NUL
30
31gddemo.exe: gddemo.obj gdicc.lib gd.h gdfonts.h gdfontl.h
32 $(LD) gddemo.obj -Fe$@ $(LIBS)
33
34giftogd.exe: giftogd.obj gdicc.lib gd.h
35 $(LD) giftogd.obj -Fe$@ $(LIBS)
36
37webgif.exe: webgif.obj gdicc.lib gd.h
38 $(LD) webgif.obj -Fe$@ $(LIBS)
39
40clean:
41 -@$(RM) *.obj
42 -@$(RM) *.exe
43 -@$(RM) *.map
44 -@$(RM) gdicc.lib
45 -@$(RM) cset*.pch
46
Note: See TracBrowser for help on using the repository browser.