|
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
|
|---|
| 12 | PDWIN32_INCLUDE = ..\..\..\include
|
|---|
| 13 | !include $(PDWIN32_INCLUDE)\pdwin32.mk
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | AR = ilib /nologo
|
|---|
| 17 | CFLAGS = $(CFLAGS) -Wcnd- -Ge+ -Tx+
|
|---|
| 18 | LD = $(LD) $(LDFLAGS) -Ge+
|
|---|
| 19 |
|
|---|
| 20 | LIBS = gdicc.lib
|
|---|
| 21 |
|
|---|
| 22 | all: gdicc.lib gddemo.exe giftogd.exe webgif.exe
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | gdicc.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 |
|
|---|
| 31 | gddemo.exe: gddemo.obj gdicc.lib gd.h gdfonts.h gdfontl.h
|
|---|
| 32 | $(LD) gddemo.obj -Fe$@ $(LIBS)
|
|---|
| 33 |
|
|---|
| 34 | giftogd.exe: giftogd.obj gdicc.lib gd.h
|
|---|
| 35 | $(LD) giftogd.obj -Fe$@ $(LIBS)
|
|---|
| 36 |
|
|---|
| 37 | webgif.exe: webgif.obj gdicc.lib gd.h
|
|---|
| 38 | $(LD) webgif.obj -Fe$@ $(LIBS)
|
|---|
| 39 |
|
|---|
| 40 | clean:
|
|---|
| 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.