stable
v1.7.0
| Line | |
|---|
| 1 | TOPDIR=../../../..
|
|---|
| 2 | ifndef SRCDIR
|
|---|
| 3 | SRCDIR=$(shell pwd)
|
|---|
| 4 | endif
|
|---|
| 5 | include $(SRCDIR)/$(TOPDIR)/lib/GlobalMakefile
|
|---|
| 6 |
|
|---|
| 7 | BIN_OR_LIB = LIB
|
|---|
| 8 | TARGET_TO_MAKE = libSCoptions
|
|---|
| 9 |
|
|---|
| 10 | LIBOBJ = GetLongOpt.$(OBJSUF)
|
|---|
| 11 |
|
|---|
| 12 | TESTPROGS = sample
|
|---|
| 13 |
|
|---|
| 14 | include $(SRCDIR)/$(TOPDIR)/lib/GlobalRules
|
|---|
| 15 |
|
|---|
| 16 | sample: README.$(OBJSUF) libSCoptions.$(LIBSUF)
|
|---|
| 17 | $(LTLINK) $(CXX) -o $@ $^ $(LTLINKBINOPTS)
|
|---|
| 18 |
|
|---|
| 19 | $(LIBOBJ:.$(OBJSUF)=.d): $(DEPENDINCLUDE)
|
|---|
| 20 | ifneq ($(DODEPEND),no)
|
|---|
| 21 | include $(LIBOBJ:.$(OBJSUF)=.d)
|
|---|
| 22 | endif
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.