aboutsummaryrefslogtreecommitdiff
path: root/snilib/Makefile
blob: 4e6ec18b5ff925a3f0eb3fc7b579c79b967fc54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Copyright 1999 Silicon Graphics, Inc.
#
CFLAGS += -O2 -I../common -mno-abicalls -G 0 -fno-pic -ffreestanding -DDEBUG

TARGETS = libsni.a
OBJECTS = sniprom.o

all: $(TARGETS)

$(TARGETS): $(OBJECTS)
	rm -f $@
	$(AR) -crs $@ $(OBJECTS)

install: $(TARGETS)
	install -d ${PREFIX}/${LIBDIR}
	install -m 644 $< ${PREFIX}/${LIBDIR}

clean:
	rm -f libsni.a $(OBJECTS) *~ tags