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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2073 - (download) (annotate)
Fri Nov 2 19:47:36 2012 UTC (6 years, 9 months ago) by jhr
File size: 653 byte(s)
  Fix order of arguments for linking on Linux
# Makefile for iso2d animation 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

DIDEROTC =		@DIDEROTC@
DIDEROTC_FLAGS =	--snapshot --namespace=ISO --target=c

UTIL_SRCS =		../util/util.c ../util/load-png.c

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

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

clean:
	rm -rf iso2d iso2d.o iso2d.c iso2d.h

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0