Revision 4,
353 bytes
checked in by ajaworski, 13 years ago
(diff) |
Added modified SAGE sources
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[4] | 1 | MACHINE=$(shell uname -s) |
---|
| 2 | ifeq ($(MACHINE), SunOS) |
---|
| 3 | COPTS = -O2 -xchar=u |
---|
| 4 | else |
---|
| 5 | COPTS = -O2 -funsigned-char |
---|
| 6 | endif |
---|
| 7 | |
---|
| 8 | INCL = -I. |
---|
| 9 | CFLAGS = ${COPTS} ${INCL} |
---|
| 10 | OBJS = close.o filbuf.o flsbuf.o name.o open.o pix.o rdwr.o rle.o row.o # dispimg.o |
---|
| 11 | TARGET = libimage.a |
---|
| 12 | |
---|
| 13 | libimage.a: ${OBJS} |
---|
| 14 | rm -f $@ |
---|
| 15 | ar r $@ ${OBJS} |
---|
| 16 | ranlib $@ |
---|
| 17 | |
---|
| 18 | clean: |
---|
| 19 | rm -f a.out core *.o ${TARGET} |
---|
Note: See
TracBrowser
for help on using the repository browser.