- CC ?= cc
- PREFIX ?= /usr/local
- INSTALL ?= install
- CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic
- spkmodem-recv:
- $(CC) $(CFLAGS) -o $@ $@.c
- install: spkmodem-recv
- $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
- $(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/
- clean:
- rm -f spkmodem-recv
|