File: Makefile

package info (click to toggle)
morse2ascii 0.2+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 368 kB
  • ctags: 231
  • sloc: ansic: 4,019; makefile: 46
file content (17 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
EXE		= morse2ascii
BINDIR	= $(DESTDIR)/usr/bin
LIBS	= -lm

all:
	$(CC) $(CPPFLAGS) $(CFLAGS) -c morse2ascii.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -c resample2.c
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(EXE) morse2ascii.o resample2.o $(LIBS)

install:
	install -m 755 -d $(BINDIR)
	install -m 755 $(EXE) $(BINDIR)/$(EXE)

clean:
	rm -f morse2ascii *.o

.PHONY: install all clean