~ashn/cdoc

ref: v0.3 cdoc/Makefile -rw-r--r-- 241 bytes
9e7a3848ashn Release v0.3 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.POSIX:
.SUFFIXES:
.PHONY: format clean

CC = c99
CFLAGS = -O0 -g
OBJS = cdoc.o

cdoc: $(OBJS)
	$(CC) -o $@ $(OBJS) $(CFLAGS)

format:
	clang-format -i cdoc.c

clean:
	rm -f cdoc $(OBJS) *.html

.SUFFIXES: .c .o
.c.o:
	$(CC) $(CFLAGS) -c $<