source: trunk/src/Makefile.am @ 28

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
12pio_srcs = \
13  dummy.c
14
15# Script-generated
16pio_built_srcs = \
17  dummy_auto.f90
18
19# C headers
20pio_hdrs = \
21  pspio_error.h
22
23                    # ------------------------------------ #
24
25#
26# Build targets
27#
28
29# Libraries
30lib_LTLIBRARIES = libpspio.la
31libpspio_la_LDFLAGS = -version-info 0:0:0
32libpspio_la_SOURCES = $(pio_srcs)
33if DO_BUILD_FORTRAN
34  nodist_libpspio_la_SOURCES = $(pio_built_srcs)
35endif
36
37# Headers
38include_HEADERS = $(pio_hdrs)
39
40# Fortran modules have to be cleaned explicitely
41clean-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.