Mercurial > hg > sidinfo
annotate Makefile.gen @ 320:e315bed7d791
Minor cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jan 2020 20:18:24 +0200 |
parents | b3d46806787d |
children | b6f88c150573 |
rev | line source |
---|---|
122
9fb96c170bbc
Make build process less noisy and also work with parallel make.
Matti Hamalainen <ccr@tnsp.org>
parents:
85
diff
changeset
|
1 CFLAGS += -g |
0 | 2 CFLAGS += -O2 |
286
6212051334e7
As we advertise C99 in README, use it instead of -std=c11
Matti Hamalainen <ccr@tnsp.org>
parents:
275
diff
changeset
|
3 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
|
4 THLIBS = th-libs/ |
0 | 5 |
6 | |
275 | 7 ### |
8 ### Objects and targets | |
9 ### | |
178
fe42ad960bc8
Oops, forgot to add the necessary th-libs module th_datastruct.o to
Matti Hamalainen <ccr@tnsp.org>
parents:
175
diff
changeset
|
10 THLIBS_OBJ=th_util.o th_string.o th_ioctx.o \ |
191
d26bc1adfd14
Add internal directory reading and filename matching, plus optional
Matti Hamalainen <ccr@tnsp.org>
parents:
178
diff
changeset
|
11 th_file.o th_args.o th_crypto.o th_datastruct.o |
0 | 12 |
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
|
13 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
|
14 SIDINFO_BIN=$(BINPATH)sidinfo$(BINEXT) |
0 | 15 |
68 | 16 TARGETS += $(SIDINFO_BIN) |
0 | 17 |
275 | 18 |
19 ### | |
20 ### Rules | |
21 ### | |
137 | 22 include $(THLIBS)/Makefile.inc |
23 | |
275 | 24 |
0 | 25 $(SIDINFO_BIN): $(addprefix $(OBJPATH),$(SIDINFO_OBJ)) $(THLIBS_A) $(EXTRAOBJS) |
175 | 26 $(LINK_BIN) |
0 | 27 |