OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [userland/] [sash/] [libsash/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
 
2
LIB = libsash.a
3
CHOPSRC = utils.c
4
LIBOBJS = intflag.o modestring.o timestring.o isadir.o copyfile.o \
5
        buildname.o expandwildcards.o namesort.o match.o makeargs.o \
6
        makestring.o chunks.o expandenvvar.o
7
 
8
CFLAGS += -I../
9
 
10
 
11
all: $(LIB)
12
 
13
$(LIBOBJS): $(CHOPSRC)
14
        $(CC) $(CFLAGS) -DL_$(basename $*) -o $(basename $*).o -c $^
15
 
16
$(LIB): $(LIB)($(LIBOBJS))
17
        $(RANLIB) $(LIB)
18
 
19
clean:
20
        rm -f $(LIB) *.o

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.