annotate Makefile.gen @ 359:969f86b74bff

Add th_ioctx_stdio.o to th-libs objects.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Feb 2020 12:20:03 +0200
parents 5fafd0735b18
children ab53c76f40d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
327
b6f88c150573 Use the newly added (in th-libs th_args module) option argument name field.
Matti Hamalainen <ccr@tnsp.org>
parents: 313
diff changeset
1 CFLAGS += -W -Wall -Wextra -std=c99 -pedantic -I./ -D_XOPEN_SOURCE=500
122
9fb96c170bbc Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents: 85
diff changeset
2 CFLAGS += -g
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 CFLAGS += -O2
327
b6f88c150573 Use the newly added (in th-libs th_args module) option argument name field.
Matti Hamalainen <ccr@tnsp.org>
parents: 313
diff changeset
4 #CFLAGS += -flto
b6f88c150573 Use the newly added (in th-libs th_args module) option argument name field.
Matti Hamalainen <ccr@tnsp.org>
parents: 313
diff changeset
5 CFLAGS += -DTH_USE_OPT_ARG=1
122
9fb96c170bbc Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents: 85
diff changeset
6 THLIBS = th-libs/
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
275
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
9 ###
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
10 ### Objects and targets
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
11 ###
359
969f86b74bff Add th_ioctx_stdio.o to th-libs objects.
Matti Hamalainen <ccr@tnsp.org>
parents: 346
diff changeset
12 THLIBS_OBJ=th_util.o th_string.o th_file.o th_args.o \
969f86b74bff Add th_ioctx_stdio.o to th-libs objects.
Matti Hamalainen <ccr@tnsp.org>
parents: 346
diff changeset
13 th_crypto.o th_datastruct.o th_ioctx.o \
969f86b74bff Add th_ioctx_stdio.o to th-libs objects.
Matti Hamalainen <ccr@tnsp.org>
parents: 346
diff changeset
14 th_ioctx_stdio.o
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
313
b3d46806787d Move a number of more or less generic helper functions into a separate sidutil.[ch] module.
Matti Hamalainen <ccr@tnsp.org>
parents: 286
diff changeset
16 SIDINFO_OBJ=sidlib.o sidutil.o sidinfo.o
274
a5bc27d26174 Rename EXEEXT to BINEXT in the build system, as per changes in th-libs build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 191
diff changeset
17 SIDINFO_BIN=$(BINPATH)sidinfo$(BINEXT)
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18
68
8dda5f225083 Improve build process.
Matti Hamalainen <ccr@tnsp.org>
parents: 52
diff changeset
19 TARGETS += $(SIDINFO_BIN)
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
275
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
21
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
22 ###
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
23 ### Rules
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
24 ###
137
18f61c69733d Buildsystem fix.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
25 include $(THLIBS)/Makefile.inc
18f61c69733d Buildsystem fix.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
26
275
04917c170c23 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
27
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 $(SIDINFO_BIN): $(addprefix $(OBJPATH),$(SIDINFO_OBJ)) $(THLIBS_A) $(EXTRAOBJS)
346
5fafd0735b18 Fix build.
Matti Hamalainen <ccr@tnsp.org>
parents: 327
diff changeset
29 $(LINK_C_BIN)
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30