Last change
on this file since 17 was
17,
checked in by zhangj, 10 years ago
|
To have a stable version on the server.
|
-
Property svn:executable set to
*
|
File size:
476 bytes
|
Line | |
---|
1 | ## Makefile for Naff example |
---|
2 | # |
---|
3 | ## Laurent S. Nadolski Synchrotron SOLEIL |
---|
4 | # add with the distribution of M. Gastineau IMCCE |
---|
5 | |
---|
6 | SHELL=/bin/sh |
---|
7 | |
---|
8 | CC = gcc |
---|
9 | CCFLAGS= -O2 |
---|
10 | |
---|
11 | SRC = modnaff.c example.c complexe.c |
---|
12 | OBJ = $(SRC:.c=.o) |
---|
13 | INC = modnaff.h complexe.h |
---|
14 | |
---|
15 | SYSLIB = -lm |
---|
16 | |
---|
17 | example : $(OBJ) $(INC) |
---|
18 | @echo "---" $@ "---" |
---|
19 | $(CC) $(CCFLAGS) $(OBJ) $(SYSLIB) -o $@ |
---|
20 | |
---|
21 | .c.o: $(INC) |
---|
22 | @echo "---" $@ "---" |
---|
23 | $(CC) $(CCFLAGS) -I. -c $< -o $@ |
---|
24 | |
---|
25 | clean: |
---|
26 | rm -f $(OBJ) $(OBJLIB) |
---|
27 | |
---|
28 | # DO NOT DELETE |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.