mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-02 08:33:08 +08:00

Import DHCPCD(8) from: http://roy.marples.name/projects/dhcpcd/ The upstream sources can be obtained via: fossil clone http://roy.marples.name/projects/dhcpcd The imported version is 2014-01-29 19:46:44 [6b209507bb].
34 lines
521 B
Makefile
34 lines
521 B
Makefile
include ../config.mk
|
|
|
|
PROG= test
|
|
SRCS= test.c
|
|
SRCS+= test_hmac_md5.c hmac_md5.c ${MD5_SRC}
|
|
|
|
CFLAGS?= -O2
|
|
CSTD?= c99
|
|
CFLAGS+= -std=${CSTD}
|
|
|
|
CPPFLAGS+= -I../crypt
|
|
|
|
.PATH: ../crypt
|
|
|
|
VPATH= . ../crypt
|
|
|
|
OBJS+= ${SRCS:.c=.o}
|
|
|
|
.c.o:
|
|
${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
|
|
|
|
all: ${PROG}
|
|
|
|
clean:
|
|
rm -f ${OBJS} ${PROG} ${PROG}.core ${CLEANFILES}
|
|
|
|
.depend: ${SRCS} ${COMPAT_SRCS}
|
|
${CC} ${CPPFLAGS} -MM ${SRCS} ${COMPAT_SRCS} > .depend
|
|
|
|
depend: .depend
|
|
|
|
${PROG}: ${DEPEND} ${OBJS}
|
|
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
|