compile on linux

This commit is contained in:
christos 2016-06-08 01:15:26 +00:00
parent 32c5e1062b
commit 3af7e55f48
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:15:26 christos Exp $
SRCS=mopchk.c
OBJS=${SRCS:.c=.o}
LDLIBS+=../common/libcommon.a
CFLAGS+=-I../common
mopchk: ${OBJS}
clean:
rm -f ${OBJS} mopchk

View File

@ -1,4 +1,4 @@
/* $NetBSD: mopchk.c,v 1.13 2011/08/30 19:49:11 joerg Exp $ */
/* $NetBSD: mopchk.c,v 1.14 2016/06/08 01:15:26 christos Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@ -24,9 +24,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "port.h"
#ifndef lint
__RCSID("$NetBSD: mopchk.c,v 1.13 2011/08/30 19:49:11 joerg Exp $");
__RCSID("$NetBSD: mopchk.c,v 1.14 2016/06/08 01:15:26 christos Exp $");
#endif
/*