File: Makefile

package info (click to toggle)
arcboot 0.3.8.8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,152 kB
  • ctags: 2,503
  • sloc: ansic: 15,138; makefile: 774; awk: 311; sh: 189; sed: 12
file content (20 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (4)
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 -Werror -Wall -mno-abicalls -G 0 -fno-pic

TARGETS = libarc.a
OBJECTS = arc.o	stdio.o stdlib.o string.o

all: $(TARGETS)

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

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

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