You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ck/src/Makefile

24 lines
437 B

14 years ago
.PHONY: clean distribution
OBJECTS=ck_hp.o ck_barrier.o
14 years ago
all: libck.so libck.a
libck.so: $(OBJECTS)
$(CC) $(CFLAGS) -shared -fPIC -o libck.so $(OBJECTS)
libck.a: $(OBJECTS)
ar rcs libck.a $(OBJECTS)
ck_hp.o: ck_hp.c
$(CC) $(CFLAGS) -c -o ck_hp.o ck_hp.c
ck_barrier.o: ck_barrier.c
$(CC) $(CFLAGS) -c -o ck_barrier.o ck_barrier.c
14 years ago
clean:
rm -rf *.dSYM *~ *.o $(OBJECTS) libck.a libck.so
include ../build/ck.build
CFLAGS+=-fPIC