mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-27 17:02:37 +00:00
* Sun Nov 17 2002 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 2.5.3-15 - modified Makefiles to improve portability: get rid of "$@" and "$^" from explicit rules (linux) * Fri Oct 26 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - created a patch containing all the Linux-specific changes from mopd-linux 2.5.3, with a number of fixes; hopefully they don't interact with non-Linux systems anymore (linux) Downloaded from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-linux.patch.gz .patch SHA256 = 416b4b90b8fd349d9d39ef8bb35aabe6eede76b51170255999dc42dfa3518e09 Patch history copied from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-15.spec
22 lines
421 B
Makefile
22 lines
421 B
Makefile
LIBS = libcommon.a
|
|
OBJS = cmp.o device.o dl.o file.o get.o loop-bsd.o mopdef.o nma.o pf-linux.o \
|
|
pf.o print.o put.o rc.o version.o
|
|
|
|
CPPFLAGS =
|
|
|
|
all: $(LIBS)
|
|
|
|
libcommon.a: $(OBJS)
|
|
-rm -f libcommon.a
|
|
$(AR) cru libcommon.a $(OBJS)
|
|
$(RANLIB) libcommon.a
|
|
|
|
.c.o:
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
|
|
|
|
version.c: VERSION
|
|
sed 's/.*/char version[] = "&";/' < VERSION > version.c
|
|
|
|
clean:
|
|
rm -f core *.a *.o version.c
|