Files
sicspsi/utils/make_gen
2005-03-23 08:20:38 +00:00

49 lines
1.3 KiB
Plaintext

#---------------------------------------------------------------------------
# Makefile for the Utilities in the utils directory,
#
# e.g. SerPortServer asynsrv_test
#
# David Maden, Sep-2000
# M.Z. Oct-2003 (system independent version)
#--------------------------------------------------------------------------
.SUFFIXES:
.SUFFIXES: .c .o
HLIB=../hardsup/libhlib.a
LIBS = -L/usr/X11R6/lib -lX11
#----------------------------------------------------------
all: asynsrv_test SerPortServer el734_test $(ALPHA)
#----------------------------------------------------------
SerPortServer: SerPortServer.c $(HLIB)
$(CC) $(CFLAGS) -o $@ $Q $(LIBS)
asynsrv_test: asynsrv_test.c $(HLIB)
$(CC) $(CFLAGS) -o $@ $Q $(LIBS)
el734: el734.c $(HLIB)
# @ echo "el734 needs Motif library. Not yet found on linux"
$(CC) $(CFLAGS) -o $@ $Q $(LIBS) -lXt -lXm
el734_test: el734_test.c $(HLIB)
$(CC) $(CFLAGS) -o $@ $Q $(LIBS)
el737: el737.c $(HLIB)
# @ echo "el737 needs Motif library. Not yet found on linux"
$(CC) $(CFLAGS) -o $@ $Q $(LIBS) -lXm -lXt -lm
#----------------------------------------------------------
clean:
- rm -f *.o
- rm -f SerPortServer \
asynsrv_test \
el734 \
el734_test \
el737
#----------------------------------------------------------