I'm porting a program that uses a simple GNU make file, but I'm thinking about replacing the make file to remove the devel/gmake dependency. I don't foresee many upstream changes that will make this an issue. Is this a bad/good idea? Are there any example ports that do this? My searching didn't turn any up.
My simple make file replacement is below. If you have any suggestions to offer, I'm open to criticism. Thanks, Joseph PROG = blah SRCS != echo *.c OBJS = $(SRCS:.c=.o) CFLAGS = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_THREAD_SAFE -D_XOPEN_SOURCE=700 -pedantic -std=c11 -Wall INC = -I/usr/local/include LDFLAGS = -L/usr/local/lib LDLIBS = -lX11 .ifmake debug CFLAGS += -DDEBUG -g -O0 .else CFLAGS += -DNDEBUG -O3 .endif ${PROG}: ${OBJS} ${CC} ${CFLAGS} ${LDFLAGS} ${LDLIBS} $(.ALLSRC) -o $(.TARGET) ${OBJS}: ${SRCS} ${CC} -c ${CFLAGS} ${INC} ${SRCS} debug: ${PROG} clean: rm -f ${PROG} *.o *.core _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"