home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
c
/
ctw11.zip
/
CTW-1.1
/
makefile
< prev
next >
Wrap
Makefile
|
1992-02-24
|
1KB
|
44 lines
# Pretty basic makefile. Please hack to your hearts content.
#
# Type 'make' to build an athena widgets version.
# Type 'make motif' to build a motif version.
#
# Specify where to get include files.
INC=-I$$OPENWINHOME/include -I/homes1/X/include -I/usr/X11R4/usr/include -I../crisp/foxlib
# Specify where and what libraries need to be linked.
#LIB=-lXaw -lXmu -lXext -lXt -lX11 -L/usr/X11R4/usr/lib
LIB=-L/usr/X11R4/usr/lib -lXaw -lXmu -lXext -lXt -lX11
PROF=
# Specify which compiler you want.
CC=gcc -pipe -O -g -traditional -W -Wall $(INC) $(PROF) $(STATIC)
#CC=cc -O $(INC) $(PROF) $(STATIC)
LINK=cc $(PROF)
H = fcterm.h ctw.h
OBJ= \
term.o \
ctw.o \
rotate.o
fcterm: fcterm.o $(OBJ)
$(LINK) $(PROF) -o fcterm fcterm.o $(OBJ) $(LIB)
motif:
$(MAKE) LIB="-L/usr/X11R4/usr/lib -lXm -lXt -lX11" motif1
motif1: fmcterm.o motif.o $(OBJ)
$(LINK) $(PROF) -o fmcterm fmcterm.o motif.o $(OBJ) $(LIB)
ctw.o: ctw.c ctw.h ctwP.h
fcterm.o: fcterm.c $(H) fcterm.bitmap
term.o: term.c $(H) fcterm.bitmap
motif.o: motif.c motif.h
prof:
$(MAKE) LINK="cc -Bstatic -p" PROF=-p STATIC=-Dstaticf=
shar:
shar -o/tmp/ctw -L50 Changes README Xdefaults *.c *.h makefile *.bitmap