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.
|
|
|
.PHONY: check clean distribution
|
|
|
|
|
|
|
|
OBJECTS=serial serial.delete
|
|
|
|
|
|
|
|
all: $(OBJECTS)
|
|
|
|
|
|
|
|
serial: serial.c ../../../include/ck_ht.h ../../../src/ck_ht.c
|
|
|
|
$(CC) $(CFLAGS) -o serial serial.c ../../../src/ck_ht.c
|
|
|
|
|
|
|
|
serial.delete: serial.c ../../../include/ck_ht.h ../../../src/ck_ht.c
|
|
|
|
$(CC) $(CFLAGS) -DHT_DELETE -o serial.delete serial.c ../../../src/ck_ht.c
|
|
|
|
|
|
|
|
check: all
|
|
|
|
./serial
|
|
|
|
./serial.delete
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *~ *.o $(OBJECTS) *.dSYM *.exe
|
|
|
|
|
|
|
|
include ../../../build/regressions.build
|
|
|
|
CFLAGS+=-D_GNU_SOURCE
|