# Makefile for OLE CLISP module CC = gcc CFLAGS = -g -O2 -Wall -DCOBJMACROS # -DOLE2ANSI CLISP = clisp INCLUDES = -I../../linkkit -I"/lib/clisp/linkkit" LN = ln MAKE = make SHELL = /bin/sh DISTRIBFILES = link.sh Makefile ole.lisp distribdir = .c.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< all: ole.o ole.c: ole.lisp $(CLISP) -c ole.lisp # Make a module clisp-module: all # Make a module distribution into $(distribdir) clisp-module-distrib: clisp-module force $(LN) $(DISTRIBFILES) $(distribdir) clean: force rm -f core *.o *.a *~ *.bak rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr distclean: clean force: rm -f *.fas *.lib ole.c