GNUmakefile
443 Bytes
ARCHIVE = libimage.a
CFILES = \
close.c \
filbuf.c \
flsbuf.c \
name.c \
open.c \
pix.c \
rdwr.c \
rle.c \
row.c
TARGET = libimage.a
OBJECTS=$(CFILES:.c=.o)
CFLAGS =-g -O -D__IMAGE_INTERNAL__
default : $(TARGET)
libimage.a : $(OBJECTS)
$(AR) ruv $@ $(OBJECTS)
clean:
rm -rf *.o
clobber: clean
rm -f $(TARGET)
install: default
install -D $(TARGET) $(ROOT)/host_lib/$(TARGET)
install -D image.h $(ROOT)/host_include/image.h