# # Makefile for LPsyn # # $Id: Makefile,v 1.2 1996/04/10 AFsp-V2R1 $ PROG = LPsyn OBJECTS = LPsyn.o LPoptions.o LPlpcPar.o LPlpcSyn.o HEADERS = LPsyn.h SHELL = /bin/sh prefix=../.. exec_prefix = $(prefix) libdir = $(exec_prefix)/lib bindir = $(exec_prefix)/bin includedir = $(prefix)/include CFLAGS = -O -I$(includedir) -DLPSYN LDFLAGS = -s LIB = $(libdir)/libtsp.a LLIB = -lm BIN = $(bindir)/$(PROG) $(BIN): $(OBJECTS) $(LIB) $(CC) $(LDFLAGS) $(OBJECTS) $(LIB) $(LLIB) -o $(BIN) $(OBJECTS): $(HEADERS) clean: rm -f *.o