# Makefile # # COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) # All rights reserved. # # @configure_input@ # OS = $(shell uname -s) SHELL = @SHELL@ CC = @CC@ -std=c99 DEFINES = -DDIDEROT -DTEEM_32BIT=1 INCLUDES = -I@TEEM_DIR@/include LDPATHS = -L@TEEM_DIR@/lib @LDPATHS@ ifeq ($(OS),Darwin) LIBS = -lteem -lpng -lz else LIBS = -lteem -lpng -lz -lpthread -lm endif CPPFLAGS = $(INCLUDES) $(DEFINES) CFLAGS = -g -O3 -W -Wall LDFLAGS = $(LDPATHS) $(LIBS) dnorm: dnorm.c $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o dnorm dnorm.c clean: rm -rf dnorm dnorm.dSYM