File:  [ELWIX - Embedded LightWeight unIX -] / suX / src / Makefile.in
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri May 20 16:02:05 2011 UTC (13 years, 6 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

#
# (C) 2011 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
#  by Michael Pounov <misho@elwix.org>
#
# $Author: misho $
# $Id: Makefile.in,v 1.1 2011/05/20 16:02:05 misho Exp $
#

prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@

CC = @CC@
MKDEP = @MKDEP@

BIN = ../bin
INC = ../inc

LDADD = @LIBS@

CFLAGS = -I. -I${INC} @CFLAGS@
LDFLAGS = -L. @LDFLAGS@

SRCS = sux.c
OBJS = sux.o
PROG = suX

all: depend \
		${PROG}

.c.o: ${SRCS}
	${CC} -c ${CFLAGS} $<

depend:
	${MKDEP} ${CFLAGS} ${SRCS}

clean:
	rm -f *.o .depend *~

install:

${PROG}: ${OBJS}
	${CC} ${LDFLAGS} -o${BIN}/$@ ${OBJS} ${LDADD}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>