# HG changeset patch # User Matti Hamalainen # Date 1579083883 -7200 # Node ID 081426ee3d93a6a4e567e6c4f7967befae7edc42 # Parent 5ec903f366b5b50e1ce1b3c861e35f7d3025bbd1# Parent 3851e00bcd711504d163bc2fade1092d5bd09041 Merge. diff -r 5ec903f366b5 -r 081426ee3d93 Makefile.gen --- a/Makefile.gen Tue Jan 14 12:53:23 2020 +0200 +++ b/Makefile.gen Wed Jan 15 12:24:43 2020 +0200 @@ -1,3 +1,6 @@ +### +### Compiler flags and paths +### CFLAGS += -W -Wall -Wextra -D_XOPEN_SOURCE=500 -I./ CFLAGS += -std=c99 -pedantic CFLAGS += -g @@ -8,9 +11,9 @@ THLIBS = ./ -# -# Objects -# +### +### Objects and binaries +### THLIBS_A=$(OBJPATH)thlibs.a THLIBS_OBJ=th_util.o th_config.o th_string.o th_ioctx.o \ th_args.o th_crypto.o th_datastruct.o th_network.o \ @@ -24,8 +27,12 @@ include $(THLIBS)/Makefile.inc + +### +### Extra targets +### $(TESTS_BIN): $(addprefix $(OBJPATH),$(TESTS_OBJ)) $(THLIBS_A) - $(LINK_BIN) + $(LINK_C_BIN) check: $(TESTS_BIN) $(TESTS_BIN) -v