--- trunk/xvidcore/build/generic/Makefile.freebsd 2002/04/21 02:30:24 129 +++ trunk/xvidcore/build/generic/Makefile.freebsd 2002/04/21 02:41:27 130 @@ -1,23 +1,18 @@ #/************************************************************************** # * -# * generic makefile -# * -# * defines: -DLINUX -DBIG_ENDIAN -# * +# * freebsd makefile # * # *************************************************************************/ include Makefile.inc - CC = gcc -Wall CFLAGS = -DFREEBSD - +LIBDIR = /usr/local/lib RM = rm -rf - all: $(LIB) $(LIBSO) @@ -29,9 +24,12 @@ $(CC) $^ -shared -lc -lm -o $@ clean: - $(RM) `find $(SRCDIR) -name "*.o"` + $(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)