home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: SysTools
/
SysTools.zip
/
cimon096.zip
/
Makefile
< prev
next >
Wrap
Makefile
|
2002-04-05
|
816b
|
37 lines
# -----------------------------------------------------------------------
# cimon - a UNIX command line client for the fli4l imon daemon.
#
# Public domain, 2001-2002, Rene Herman <rene.herman@mail.com>
# -----------------------------------------------------------------------
CC = gcc
ifdef DEBUG
CFLAGS = -g
STRIP = echo >/dev/null
else
CFLAGS = -O2 -fomit-frame-pointer
STRIP = strip
endif
CFLAGS += -W -Wall -pipe
cimon: util.o exit.o imon.o main.o
$(CC) $(LDFLAGS) -o $@ $^
$(STRIP) $@
clean:
rm -f *~ *.o cimon core
dist: cimon
echo cimon-`./cimon -V` >DIST
-rm -rf `cat DIST`
mkdir `cat DIST`
ln `cat MANIFEST` `cat DIST`
tar cvzf `cat DIST`.tar.gz `cat DIST`
rm -rf `cat DIST` DIST
util.o: cimon.h util.c
exit.o: cimon.h exit.c
imon.o: cimon.h imon.c
main.o: cimon.h main.c