blob: f319b52de29a10f63fb88c070084c8882e44ab92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
OBJECTS=extract_version_1 extract_version_2 extract_version_3 split_version_2 map_coords convert_coords
BINARIES=$(addprefix bin/,$(OBJECTS))
CFLAGS+=-W -Wall -Wextra -O3 # -Weverything -Wno-cast-align -Wno-padded
LDFLAGS+=-lz -lm
VPATH=src/export
.SUFFIXES: .c
all: $(BINARIES)
bin/% : %.c mystdlib.c
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
.PHONY: clean
clean:
@rm -f $(BINARIES)
|