home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume18
/
wclock
/
part01
/
Makefile.std
< prev
next >
Wrap
Makefile
|
1992-07-13
|
1KB
|
47 lines
######################################################################
# #
# Boring Makefile for wclock. #
# #
######################################################################
WCLOCK=wclock
# places to put things.
BINDIR=/usr/local/bin/X11
MANDIR=/usr/man
MANSEC=l
WCLOCK_SRC=wclock.c Wclock.c Outline.c
WCLOCK_OBJ=$(WCLOCK_SRC:.c=.o)
LIBS= -lXaw -lXmu -lXt -lXext -lX11 -lm
# places to look for X things
INCLUDE_DIRS= -I/usr/local/include
LIB_DIRS=
DEFINES=-DSHAPE
CDEBUGFLAGS=-O
CFLAGS= $(CDEBUGFLAGS) $(DEFINES) $(INCLUDE_DIRS) $(LIB_DIRS)
wclock: $(WCLOCK_OBJ)
$(CC) $(CFLAGS) -o wclock $(WCLOCK_OBJ) $(LIBS)
Outline.o : Outline.c OutlineP.h Outline.h
Wclock.o : Wclock.c WclockP.h Wclock.h Outline.h /usr/include/math.h
wclock.o : wclock.c Wclock.h Outline.h patchlevel.h wclock.xbm wclock.mask
install: wclock wclock.man
install -s -m755 wclock $(BINDIR)
install -m644 wclock.man $(MANDIR)/man$(MANSEC)/wclock.$(MANSEC)
clean:
rm -f $(WCLOCK_OBJ) $(WCLOCK)
lint:
$(LINT) $(DEFINES) $(INCLUDES) $(WCLOCK_SRC)