16 lines
241 B
Makefile
16 lines
241 B
Makefile
|
.PHONY: all clean reformat
|
||
|
|
||
|
CFLAGS=-Wall -Werror -pedantic -std=c99 -O2 -mtune=native
|
||
|
REFORMAT=astyle --style=linux
|
||
|
|
||
|
all: dsim
|
||
|
|
||
|
clean:
|
||
|
$(RM) *~ *% *.o *.orig
|
||
|
$(RM) dsim
|
||
|
|
||
|
reformat: $(wildcard *.c)
|
||
|
$(REFORMAT) $^
|
||
|
|
||
|
# vim:noet:sw=8:sts=8:
|