-
GNUmakefile for a basic library
GNUmakefile for a static library, testlib.a, including a single file, hello.c OBJS = hello.o CFILES := ${OBJS:.o=.c}LDFLAGS =ARFLAGS = rcv all:: testlib.a testlib.a: ${OBJS} @$(AR) ${ARFLAGS} $@ $? clean:: @$(RM) ${OBJS} testlib.a
-
More on update-alternatives
It appears that update-alternatives is a very handy facility in Debian derivatives for keeping track of the preferred application for specific tasks. This seems to be a much SAFER than Windows way of handling things (i.e., let the application try to set itself as the default handler–a la IE vs. Firefox, whatever audio player you…
-
Selecting java alternatives
As root, run the following to see which alternatives are out there, and which one is selected as default: update-alternatives –display java As root, use the following to select default. update-alternatives –config java
