Annotation of embedtools/src/Makefile, revision 1.1
1.1 ! misho 1: #
! 2: # (C) 2009 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
! 3: # by Michael Pounov <misho@openbsd-bg.org>
! 4: #
! 5: # $Author: misho $
! 6: # $Id: Makefile.in,v 1.1.1.1 2009/04/22 22:38:22 misho Exp $
! 7: #
! 8:
! 9: includedir = /usr/local/include
! 10: libdir = /usr/local/lib
! 11:
! 12: MKDEP = mkdep
! 13:
! 14: BIN = ../bin
! 15: INC = ../inc
! 16:
! 17: LDADD = -laitcfg
! 18:
! 19: CFLAGS = -I. -I${INC} -I${includedir} -Wall -O2 -fPIC -g
! 20: LDFLAGS = -L. -L${libdir}
! 21:
! 22: SRCS = ${CFEXEC_SRCS}
! 23: PROG = ${CFEXEC_PROG}
! 24:
! 25: CFEXEC_SRCS = cfexec.c
! 26: CFEXEC_OBJS = cfexec.o compile.o
! 27: CFEXEC_PROG = cfexec
! 28:
! 29:
! 30: all: depend \
! 31: ${PROG}
! 32:
! 33: .c.o: ${SRCS} compile.c
! 34: ${CC} -c ${CFLAGS} $<
! 35:
! 36: depend:
! 37: ./compile.sh
! 38: ${MKDEP} ${CFLAGS} ${SRCS}
! 39:
! 40: clean:
! 41: rm -f *.o .depend compile.c *~
! 42:
! 43: install:
! 44:
! 45: ${CFEXEC_PROG}: ${CFEXEC_OBJS}
! 46: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>