Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /examples/iso2d-spatial/Makefile.in
ViewVC logotype

View of /examples/iso2d-spatial/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2961 - (download) (annotate)
Thu Mar 5 14:02:35 2015 UTC (4 years, 5 months ago) by lamonts
File size: 975 byte(s)
Modified CPPFlags for view.c inside the Makefile.in
# Makefile for iso2d particle interaction demo
# COPYRIGHT (c) 2015 The Diderot Project
# All rights reserved.

SHELL =		/bin/sh

CC =		@CC@
LDFLAGS =	@LDPATHS@ @TEEM_LDFLAGS@ @ATB_LDFLAGS@ @GLFW_LIBS@ -framework CoreVideo  -framework Cocoa -framework OpenGL -framework IOKit -L/opt/local/lib/ 

DIDEROTC_FLAGS  = --snapshot --namespace=ISO  --disable-high-vn --disable-mid-vn --disable-low-vn --target=c
UTIL_SRCS =		./utils/circle.c ./utils/utils.c 
UTIL_HEADERS =  ./utils/circle.h ./utils/linmath.h ./utils/utils.h ./utils/vertex.h

iso2d:		main.c iso2d.o view.o $(UTIL_SRCS) $(UTIL_HEADERS)
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c iso2d.o view.o $(UTIL_SRCS) $(LDFLAGS)

view.o: view.c view.h 
	$(CC) -c $(CPPFLAGS) $(LDFLAGS) view.c

iso2d.o: iso2d.diderot
	$(DIDEROTC) $(DIDEROTC_FLAGS) iso2d.diderot

	rm -rf iso2d iso2d.o iso2d.c iso2d.h view.o

ViewVC Help
Powered by ViewVC 1.0.0