|
Last change
on this file was 18, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # /emx/src/lib/libc0.mak
|
|---|
| 3 | #
|
|---|
| 4 | .INCLUDE: /emx/src/lib/lib0.mak
|
|---|
| 5 |
|
|---|
| 6 | .IF $(OMF)
|
|---|
| 7 | DSTLIB=/emx/lib/$(LIBNAME).lib
|
|---|
| 8 | .ELSE
|
|---|
| 9 | DSTLIB=/emx/lib/$(LIBNAME).a
|
|---|
| 10 | .END
|
|---|
| 11 | LIBC_CCFLAGS=-I.. $(MORE_LIBC_CCFLAGS)
|
|---|
| 12 |
|
|---|
| 13 | .PHONY: default clean lib-st lib-st-p lib-mt dstlib local \
|
|---|
| 14 | lib-st-2 lib-st-p-2 lib-mt-2
|
|---|
| 15 |
|
|---|
| 16 | .SOURCE.c: ../$(CPU)
|
|---|
| 17 | .SOURCE.h: ../$(CPU)
|
|---|
| 18 | .SOURCE.s: ../$(CPU)
|
|---|
| 19 |
|
|---|
| 20 | .SOURCE.c: ..
|
|---|
| 21 | .SOURCE.h: ..
|
|---|
| 22 | .SOURCE.s: ..
|
|---|
| 23 |
|
|---|
| 24 | default: lib-st lib-mt lib-st-p
|
|---|
| 25 |
|
|---|
| 26 | lib-st: local lib-st-2
|
|---|
| 27 | lib-st-p: local lib-st-p-2
|
|---|
| 28 | lib-mt: local lib-mt-2
|
|---|
| 29 |
|
|---|
| 30 | lib-st-2 .SETDIR=st_$(CPU):
|
|---|
| 31 | $(MAKE) -f ../makefile dstlib $(PASSDOWN) LIBNAME=st/$(LIBBASE) MT_CCFLAGS=
|
|---|
| 32 |
|
|---|
| 33 | lib-st-p-2 .SETDIR=st_p_$(CPU):
|
|---|
| 34 | $(MAKE) -f ../makefile dstlib $(PASSDOWN) LIBNAME=st/$(LIBBASE)_p MT_CCFLAGS=-pg
|
|---|
| 35 |
|
|---|
| 36 | lib-mt-2 .SETDIR=mt_$(CPU):
|
|---|
| 37 | $(MAKE) -f ../makefile dstlib $(PASSDOWN) LIBNAME=mt/$(LIBBASE) MT_CCFLAGS=-Zmt
|
|---|
| 38 |
|
|---|
| 39 | dstlib: $(DSTLIB)
|
|---|
| 40 |
|
|---|
| 41 | .IF $(OMF)
|
|---|
| 42 | clean:
|
|---|
| 43 | -del st_$(CPU)\*.obj $(DELOPT)
|
|---|
| 44 | -del mt_$(CPU)\*.obj $(DELOPT)
|
|---|
| 45 | -del st_p_$(CPU)\*.obj $(DELOPT)
|
|---|
| 46 | .ELSE
|
|---|
| 47 | clean:
|
|---|
| 48 | -del st_$(CPU)\*.o $(DELOPT)
|
|---|
| 49 | -del mt_$(CPU)\*.o $(DELOPT)
|
|---|
| 50 | -del st_p_$(CPU)\*.o $(DELOPT)
|
|---|
| 51 | .END
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.