Makefile for CLAP


This is a basic Makefile that uses CLAP

CC = g++
CLAPCPP = -I/users/silver2/projects/cgproj/package/include
CLAPLD = -L/users/silver2/projects/cgproj/package/lib -lcmd

TARGET = `your target`
OBJECTS = `a.o b.o ...`

$(TARGET): $(OBJECTS)
    $(CC) $(OBJECTS) $(CLAPLD)

.cc.o:
    $(CC) $(CLAPCPP) -c $<

clean:
    /usr/bin/rm -f $(TARGET) $(OBJECTS)
    /usr/bin/rm -f *~ core


This page was designed by Haggai David.
Send your comments to davidcha@cs.bgu.ac.il
Copyright © 1997 Haggai David, All rights reserved.

Back