############################################################################## # # Linux Makefile for capsind with OpenMotif and X11R6 # # $Source: /opt/spk-src/src/capsind/Makefile.Linux $ # $Revision: 1.1 $ $Date: 2000-08-15 09:35:39-07 $ # ############################################################################## HEADERS = # This variable contains the flags passed to cc. # DAportable is needed so that the program can be compiled on a C180 # and still work on earlier processors CFLAGS = -ansi -O -DLINUX -D_GNU_SOURCE # This variable lists the subdirectories to search for include files. X11INCLUDE = -I/usr/include MOTIFINC = # If using commercial Motif, uncomment the line below # MOTIFINC = -I/usr/dt/include INCLUDES = $(X11INCLUDE) $(MOTIFINC) # Link in the shared libraries X11LIBS = -L/usr/lib LIBS = $(X11LIBS) # LDFLAGS = -lMrm -lXm -lXp -lXpm -lXt -lXext -lX11 -lSM -lICE LDFLAGS = -lMrm -lXm -lXp -lXt -lXext -lX11 -lSM -lICE all : capsind capsind : capsind.o gcc capsind.o $(CFLAGS) $(LIBS) $(LDFLAGS) -o capsind chmod 555 capsind capsind.o : $(HEADERS) capsind.c gcc -c $(CFLAGS) $(INCLUDES) capsind.c