16 lines
213 B
Makefile
16 lines
213 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -O2
|
|
LDFLAGS=-lm
|
|
|
|
ifndef VERBOSE
|
|
.SILENT:
|
|
endif
|
|
|
|
all: clean resistormaid
|
|
|
|
resistormaid: resistormaid.c
|
|
$(CC) $(CFLAGS) resistormaid.c -o resistormaid $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f resistormaid *.o
|