CherryPy / cherrypy / process / unix_threading / Makefile

SHELL = /bin/bash

.SUFFIXES:
.SUFFIXES: .c .o

CC = gcc
INCLUDE = /usr/local/include/python2.5
CFLAGS = -fno-strict-aliasing \
	 -Wno-long-double \
	 -no-cpp-precomp \
	 -mno-fused-madd \
	 -DNDEBUG -g -O3 \
	 -Wall -Wstrict-prototypes \
	 -I$(INCLUDE) -pg
COMPILE = $(CC) $(CFLAGS) -c

LD = $(CC)
LDFLAGS = -undefined dynamic_lookup

OBJS = _pthread_cond.o 
LIBRARY = _pthread_cond.so
LIBS = 

all: $(LIBRARY) 

$(LIBRARY): $(OBJS)
	$(LD) $(LDFLAGS) -bundle $(OBJS) $(LIBS) -o $(LIBRARY)

_pthread_cond.o: _pthread_cond.c 
	$(COMPILE) $< -o $@

# for flymake support
check-syntax:
	$(COMPILE) _pthread_cond.c -o /dev/null

clean:
	rm -f $(LIBRARY)
	rm -f $(OBJS)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.