~charles/dotfiles

ref: f3d8c43ffc40a3ddf482a222c3399052aa6b2f4b dotfiles/fastabr/Makefile -rw-r--r-- 239 bytes
f3d8c43f — Charles Daniels gr ignore un-readable files 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
CFLAGS=-Wall -Wextra -pedantic -std=c99 -O3

.PHONY: clean

fastabr: fastabr.c fastabr.h
	$(CC) $< -o $@ $(CFLAGS) $$(if [ "$$(uname)" = "Linux" ] ; then printf " -lbsd " ; fi) 

clean:
	rm -f *.o
	rm -f *.gch
	rm -f *.core
	rm -f fastabr