source: trunk/tools/database/gd/Makefile@ 10367

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

New makefile style.

File size: 1.1 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
11all: gdgcc.a gdgcc.lib gdicc.lib
12
13ODIN32_TOOLS = ../../bin
14!include ../../../makefile.inc
15
16gdgcc.a: force
17 @nmake /nologo OMF=0 -f makefile.gcc $@
18
19gdgcc.lib: force
20 @nmake /nologo OMF=1 -f makefile.gcc $@
21
22gdicc.lib: force
23 @nmake /nologo -f makefile.icc $@
24
25force:
26 @echo ...
27
28dep:
29 $(DEPEND) *.c *.cpp *.h *.asm *.inc -Objo *.c *.cpp -objgobj *.c *.cpp
30
31clean:
32 @nmake /nologo -f makefile.icc clean
33 @nmake /nologo OMF=0 -f makefile.gcc clean
34 @nmake /nologo OMF=1 -f makefile.gcc clean
35
36
37#
38# Include the .depend file.
39# If the depend file don't exists we'll complain about it.
40#
41!ifndef NODEP
42! if [$(EXISTS) .depend] == 0
43! include .depend
44! else
45! if [$(ECHO) .depend doesn't exist]
46! endif
47! endif
48!endif
49
Note: See TracBrowser for help on using the repository browser.