clisp-ole

OLE bindings for CLisp
git clone https://logand.com/git/clisp-ole.git/
Log | Files | Refs | README

Makefile (696B)


      1 # Makefile for OLE CLISP module
      2 
      3 CC = gcc
      4 CFLAGS = -g -O2 -Wall -DCOBJMACROS
      5 # -DOLE2ANSI
      6 
      7 CLISP = clisp
      8 
      9 INCLUDES = -I../../linkkit -I"/lib/clisp/linkkit"
     10 
     11 LN = ln
     12 
     13 MAKE = make
     14 
     15 SHELL = /bin/sh
     16 
     17 DISTRIBFILES = link.sh Makefile ole.lisp
     18 distribdir =
     19 
     20 .c.o:
     21 	$(CC) $(CFLAGS) $(INCLUDES) -c $<
     22 
     23 all: ole.o
     24 
     25 ole.c: ole.lisp
     26 	$(CLISP) -c ole.lisp
     27 
     28 # Make a module
     29 clisp-module: all
     30 
     31 # Make a module distribution into $(distribdir)
     32 clisp-module-distrib: clisp-module force
     33 	$(LN) $(DISTRIBFILES) $(distribdir)
     34 
     35 clean: force
     36 	rm -f core *.o *.a *~ *.bak
     37 	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr
     38 
     39 distclean: clean
     40 
     41 force:
     42 	rm -f *.fas *.lib ole.c