summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3ab8c5ca1be50440c758c65f53994393f76a02b1 (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 = -g -O2 -Wall -Wextra -Werror -pedantic -std=c99

all: newbatch createspool batchd runfd

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 runfd