summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9541695db867d43d1a22c93bede46071dbe7f6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC ?= cc
CFLAGS=-std=c99 -W -Wall -pedantic -O2 -Iinclude
OBJS=fhp.o test.o
APP=fhp-test

all: $(OBJS)
	$(CC) -o $(APP) $(OBJS)

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

clean:
	rm -f $(APP) $(OBJS)