SCM Repository
Annotation of /examples/curve-lic/Makefile.in
Parent Directory
|
Revision Log
Revision 3349 - (view) (download)
1 : | jhr | 2872 | # Makefile for curve-lic demo |
2 : | # | ||
3 : | jhr | 3349 | # This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu) |
4 : | # | ||
5 : | # COPYRIGHT (c) 2015 The University of Chicago | ||
6 : | jhr | 2872 | # All rights reserved. |
7 : | # | ||
8 : | |||
9 : | SHELL = /bin/sh | ||
10 : | |||
11 : | CC = @CC@ | ||
12 : | CPPFLAGS = -I../util @CPPFLAGS@ @TEEM_CPPFLAGS@ @ATB_CPPFLAGS@ @GLFW_CFLAGS@ | ||
13 : | CFLAGS = @CFLAGS@ -O3 | ||
14 : | LDFLAGS = @LDPATHS@ @TEEM_LDFLAGS@ @ATB_LDFLAGS@ @GLFW_LIBS@ -lpng | ||
15 : | |||
16 : | # override this variable to change the runtime platform | ||
17 : | DIDEROT_TARGET = c | ||
18 : | |||
19 : | DIDEROTC = @DIDEROTC@ | ||
20 : | DIDEROTC_FLAGS = --snapshot --namespace=ISO --target=$(DIDEROT_TARGET) | ||
21 : | |||
22 : | curve-lic: main.c iso2d.o $(UTIL_SRCS) | ||
23 : | $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c iso2d.o $(LDFLAGS) | ||
24 : | |||
25 : | rcast.o: rcast.diderot | ||
26 : | $(DIDEROTC) $(DIDEROTC_FLAGS) --namespace=RCAST rcast.diderot | ||
27 : | |||
28 : | lic.o: lic.diderot | ||
29 : | $(DIDEROTC) $(DIDEROTC_FLAGS) --namespace=LIC lic.diderot | ||
30 : | |||
31 : | clean: | ||
32 : | rm -rf curve-lic *.o rcast.c rcast.h lic.c lic.h |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |