# Makefile for curve-lic demo # # COPYRIGHT (c) 2012 The Diderot Project # All rights reserved. # SHELL = /bin/sh CC = @CC@ CPPFLAGS = -I../util @CPPFLAGS@ @TEEM_CPPFLAGS@ @ATB_CPPFLAGS@ @GLFW_CFLAGS@ CFLAGS = @CFLAGS@ -O3 LDFLAGS = @LDPATHS@ @TEEM_LDFLAGS@ @ATB_LDFLAGS@ @GLFW_LIBS@ -lpng # override this variable to change the runtime platform DIDEROT_TARGET = c DIDEROTC = @DIDEROTC@ DIDEROTC_FLAGS = --snapshot --namespace=ISO --target=$(DIDEROT_TARGET) curve-lic: main.c iso2d.o $(UTIL_SRCS) $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c iso2d.o $(LDFLAGS) rcast.o: rcast.diderot $(DIDEROTC) $(DIDEROTC_FLAGS) --namespace=RCAST rcast.diderot lic.o: lic.diderot $(DIDEROTC) $(DIDEROTC_FLAGS) --namespace=LIC lic.diderot clean: rm -rf curve-lic *.o rcast.c rcast.h lic.c lic.h