1 CFLAGS := $(CFLAGS) -ggdb -Wno-format-truncation
7 SOURCES := $(wildcard $(SRC)/*.c)
8 OBJECTS := $(patsubst $(SRC)/%.c, $(OBJ)/%.o, $(SOURCES))
11 gcc $(CFLAGS) $(OBJECTS) $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit
13 $(OBJ)/%.o: $(SRC)/%.c
14 gcc $(CFLAGS) -I$(SRC) -c $< -o $@
16 # remove compilation products
18 rm -f webcit server/*.o
22 # install to target directory