[svn] / branches / dev-api-3 / xvidcore / build / generic / Makefile.freebsd Repository:
ViewVC logotype

View of /branches/dev-api-3/xvidcore/build/generic/Makefile.freebsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 392 - (download) (annotate)
Wed Sep 4 18:44:41 2002 UTC (21 years, 7 months ago)
File size: 585 byte(s)
This commit was manufactured by cvs2svn to create branch 'dev-api-3'.
#/**************************************************************************
# *
# * 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