mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-04 23:34:48 +00:00
Quick+Dirty port to linux
This commit is contained in:
15
common/Makefile.linux
Normal file
15
common/Makefile.linux
Normal file
@@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:11:49 christos Exp $
|
||||
SRCS+=cmp.c device.c dl.c file.c get.c log.c loop-linux2.c mopdef.c nma.c
|
||||
SRCS+=pf-linux2.c print.c put.c rc.c version.c
|
||||
OBJS+=${SRCS:.c=.o}
|
||||
|
||||
CFLAGS+=-DNOAOUT
|
||||
|
||||
libcommon.a: ${OBJS}
|
||||
ar cr $@ ${OBJS}
|
||||
|
||||
version.c: VERSION
|
||||
@rm -f $@
|
||||
sed -e 's/.*/char version[] = "&";/' VERSION > $@
|
||||
clean:
|
||||
rm -f ${OBJS} libcommon.a version.c
|
||||
Reference in New Issue
Block a user