home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
gnufind.zip
/
Makefile.os2
< prev
next >
Wrap
Makefile
|
1996-01-01
|
1KB
|
41 lines
# Master Makefile for GNU find, xargs, and locate.
# Copyright (C) 1987, 1990, 1991 Free Software Foundation, Inc.
release:
$(MAKE) -f Makefile.os2 dll find xargs locate \
CC="gcc -O -Zomf" AR="emxomfar" RANLIB="emxomfar s" O=".obj" A=".lib" \
LFLAGS="-s -Zcrtdll -Zstack 512" LIBS="../lib/find.lib ../lib/regex.lib"
debug:
$(MAKE) -f Makefile.os2 lib find xargs locate \
CC="gcc -g" AR="ar" RANLIB="ar s" O=".o" A=".a" \
LFLAGS="" LIBS="../lib/find.a"
DEFS = -DOS2 -DHAVE_CONFIG_H
CFLAGS = -I.. -I../lib $(DEFS)
DFLAGS = -Zdll -Zcrtdll
# Arguments to pass to subdirectory makes.
MDEFINES = CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" O="$O" A="$A" \
CFLAGS="$(CFLAGS)" LFLAGS="$(LFLAGS)" DFLAGS="$(DFLAGS)" LIBS="$(LIBS)"
.PHONY: lib dll find xargs locate
lib:
cd lib & $(MAKE) -f Makefile.os2 $(MDEFINES) $@
dll:
cd lib & $(MAKE) -f Makefile.os2 $(MDEFINES) $@
find:
cd find & $(MAKE) -f Makefile.os2 $(MDEFINES) all
xargs:
cd xargs & $(MAKE) -f Makefile.os2 $(MDEFINES) all
locate:
cd locate & $(MAKE) -f Makefile.os2 $(MDEFINES) all
clean:
cd lib & $(MAKE) -f Makefile.os2 clean
cd find & $(MAKE) -f Makefile.os2 clean
cd xargs & $(MAKE) -f Makefile.os2 clean
cd locate & $(MAKE) -f Makefile.os2 clean