~ecs/tbrace

ref: fa002647850475189531c4851325836689eee074 tbrace/Makefile -rw-r--r-- 261 bytes
fa002647 — Eyal Sawady Style 1 year, 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = musl-gcc
CFLAGS = -ansi -Wall -Wextra -pedantic -static

all: tbrace
	./tbrace

tbrace: main.o config.h helpers.o state.o update.o
	$(CC) $(CFLAGS) main.o state.o helpers.o update.o -o tbrace

%.o: %.c %.h
	$(CC) $(CFLAGS) $< -c

clean:
	rm tbrace
	rm *.o