[svn] / trunk / xvidcore / build / generic / Makefile.freebsd Repository:
ViewVC logotype

View of /trunk/xvidcore/build/generic/Makefile.freebsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 130 - (download) (annotate)
Sun Apr 21 02:41:27 2002 UTC (17 years, 6 months ago) by knhor
File size: 585 byte(s)
knhor - 020420 - add install
#/**************************************************************************
# *
# * freebsd makefile
# *
# *************************************************************************/


include Makefile.inc

CC = gcc -Wall
CFLAGS = -DFREEBSD
LIBDIR = /usr/local/lib

RM = rm -rf

all: $(LIB) $(LIBSO)


$(LIB): $(SRC:.c=.o)
	ar rcs $@ $^


$(LIBSO): $(SRC:.c=.o)
	$(CC) $^ -shared -lc -lm -o $@

clean:	
	$(RM) $(LIBSO) $(LIB) `find $(SRCDIR) -name "*.o"`

remove-all:
	$(RM) $(DIRS)
	$(RM) $(LIB)
	$(RM) $(LIBSO)

install: $(LIB) $(LIBSO)
	install -c -m 0666 $(LIBSO) $(LIB) $(LIBDIR)

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4