Revision: | 392 |
Committed: | Wed Sep 4 18:44:41 2002 UTC (22 years, 1 month ago) |
File size: | 524 byte(s) |
Log Message: | This commit was manufactured by cvs2svn to create branch 'dev-api-3'. |
# | Content |
---|---|
1 | #/************************************************************************** |
2 | # * |
3 | # * sparc makefile |
4 | # * |
5 | # * |
6 | # * |
7 | # *************************************************************************/ |
8 | |
9 | |
10 | include Makefile.inc |
11 | |
12 | |
13 | CC = gcc |
14 | CFLAGS = -fPIC -Wall -DARCH_IS_BIG_ENDIAN -DARCH_SPARC |
15 | |
16 | |
17 | RM = rm -rf |
18 | |
19 | |
20 | all: $(LIB) $(LIBSO) |
21 | |
22 | |
23 | $(LIB): $(SRC:.c=.o) |
24 | ar rcs $@ $^ |
25 | |
26 | |
27 | $(LIBSO): $(SRC:.c=.o) |
28 | $(CC) $^ -shared -lc -lm -o $@ |
29 | |
30 | |
31 | clean: |
32 | $(RM) $(DIRS) |
33 | $(RM) $(DIRS_INTEL) |
34 | $(RM) $(LIB) |
35 | $(RM) $(LIBSO) |
36 | |
37 | %.o: %.c |
38 | $(CC) $(CFLAGS) -o $@ -c $< |
39 |