| 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 | all: gdgcc.a gdgcc.lib gdicc.lib
|
|---|
| 12 |
|
|---|
| 13 | ODIN32_TOOLS = ../../bin
|
|---|
| 14 | !include ../../../makefile.inc
|
|---|
| 15 |
|
|---|
| 16 | gdgcc.a: force
|
|---|
| 17 | @nmake /nologo OMF=0 -f makefile.gcc $@
|
|---|
| 18 |
|
|---|
| 19 | gdgcc.lib: force
|
|---|
| 20 | @nmake /nologo OMF=1 -f makefile.gcc $@
|
|---|
| 21 |
|
|---|
| 22 | gdicc.lib: force
|
|---|
| 23 | @nmake /nologo -f makefile.icc $@
|
|---|
| 24 |
|
|---|
| 25 | force:
|
|---|
| 26 | @echo ...
|
|---|
| 27 |
|
|---|
| 28 | dep:
|
|---|
| 29 | $(DEPEND) *.c *.cpp *.h *.asm *.inc -Objo *.c *.cpp -objgobj *.c *.cpp
|
|---|
| 30 |
|
|---|
| 31 | clean:
|
|---|
| 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.