summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ffb3f6bcd0b65cb6e71bdd2fc223227490ef00c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CC = cc
CFLAGS = -O2 -Wall -Wextra -Werror -pedantic -std=c99

all: newbatch createspool batchd

newbatch: newbatch.c
	$(CC) -o newbatch $(CFLAGS) newbatch.c

createspool: createspool.c
	$(CC) -o createspool $(CFLAGS) createspool.c

batchd: batchd.c
	$(CC) -o batchd $(CFLAGS) batchd.c

runfd: runfd.c
	$(CC) -o runfd $(CFLAGS) runfd.c

.PHONY: clean

clean:
	rm -f newbatch createspool batchd