aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: d5e673a612ec1d2114fa0044ebcfb33b08a28545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
VERSION=\"v0.0.1\"
CC = gcc
CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra
SRC = src
BIN = bin

all: $(BIN)/strstream $(BIN)/melting_range $(BIN)/strstreamone

$(BIN)/strstream: $(SRC)/strstream.c
	$(CC) $(SRC)/strstream.c -o $(BIN)/strstream $(CLIBS) $(CFLAGS)
$(BIN)/strstreamone: $(SRC)/strstreamone.c
	$(CC) $(SRC)/strstreamone.c -o $(BIN)/strstreamone $(CLIBS) $(CFLAGS)
$(BIN)/melting_range: $(SRC)/melting_range.c
	$(CC) $(SRC)/melting_range.c -o $(BIN)/melting_range $(CLIBS) $(CFLAGS)

clean:
	rm -vf $(BIN)/strstream $(BIN)/melting_range $(BIN)/strstreamone