| Revision 28,
815 bytes
checked in by pouillon, 21 months ago
(diff) |
|
Wrote preliminary build system
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # Makefile for the sources of Libpspio |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | # ------------------------------------ # |
|---|
| 6 | |
|---|
| 7 | # |
|---|
| 8 | # Source files |
|---|
| 9 | # |
|---|
| 10 | |
|---|
| 11 | # Hand-written |
|---|
| 12 | pio_srcs = \ |
|---|
| 13 | dummy.c |
|---|
| 14 | |
|---|
| 15 | # Script-generated |
|---|
| 16 | pio_built_srcs = \ |
|---|
| 17 | dummy_auto.f90 |
|---|
| 18 | |
|---|
| 19 | # C headers |
|---|
| 20 | pio_hdrs = \ |
|---|
| 21 | pspio_error.h |
|---|
| 22 | |
|---|
| 23 | # ------------------------------------ # |
|---|
| 24 | |
|---|
| 25 | # |
|---|
| 26 | # Build targets |
|---|
| 27 | # |
|---|
| 28 | |
|---|
| 29 | # Libraries |
|---|
| 30 | lib_LTLIBRARIES = libpspio.la |
|---|
| 31 | libpspio_la_LDFLAGS = -version-info 0:0:0 |
|---|
| 32 | libpspio_la_SOURCES = $(pio_srcs) |
|---|
| 33 | if DO_BUILD_FORTRAN |
|---|
| 34 | nodist_libpspio_la_SOURCES = $(pio_built_srcs) |
|---|
| 35 | endif |
|---|
| 36 | |
|---|
| 37 | # Headers |
|---|
| 38 | include_HEADERS = $(pio_hdrs) |
|---|
| 39 | |
|---|
| 40 | # Fortran modules have to be cleaned explicitely |
|---|
| 41 | clean-local: |
|---|
| 42 | rm -f *.mod *.MOD |
|---|
| 43 | |
|---|
| 44 | # ------------------------------------ # |
|---|
| 45 | |
|---|
| 46 | # Explicit dependencies (if needed) |
|---|
| 47 | # Use $(LTOBJEXT) as extension for object files |
|---|
| 48 | # ... |
|---|
Note: See
TracBrowser
for help on using the repository browser.