File: Makefile

package info (click to toggle)
aces3 3.0.6-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 82,460 kB
  • sloc: fortran: 225,647; ansic: 20,413; cpp: 4,349; makefile: 953; sh: 137
file content (26 lines) | stat: -rw-r--r-- 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

SIAL_COMPILER=../bin/sial
SIO_DIR=../bin/sio

SIAL_SOURCE=$(wildcard *.sial)
SIO_OBJS=$(SIAL_SOURCE:.sial=.sio)

all: $(SIO_OBJS) $(SIO_DIR)/sial_config $(SIO_DIR)/default_jobflows

binclean clean distclean: % : ;
	rm -f *.sio

rebuild relink: % : binclean all

libclean ppclean archive: % : ;

$(SIO_DIR)/sial_config: sial_config
	cp sial_config $(SIO_DIR)

$(SIO_DIR)/default_jobflows: default_jobflows
	cp default_jobflows $(SIO_DIR)

.SUFFIXES: .sial .sio

.sial.sio:
	$(SIAL_COMPILER) $< && cp $@ $(SIO_DIR)