File: Makefile

package info (click to toggle)
postmark 1.53-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 80 kB
  • ctags: 124
  • sloc: ansic: 987; makefile: 61
file content (23 lines) | stat: -rw-r--r-- 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

PROGRAMS=postmark

all: $(PROGRAMS)

CC=gcc -O2 -g -Wall -pipe $(CFLAGS)

MAINSRC=postmark-1.53.c

postmark: $(MAINSRC)
	$(CC) $(MAINSRC) $(OBJS) -o postmark $(LFLAGS)

install:
	mkdir -p $(DESTDIR)/usr/bin
#	strip postmark
	cp $(PROGRAMS) $(DESTDIR)/usr/bin

%.o: %.cpp %.h
	$(CC) -c $< -o $@

clean:
	rm -f $(PROGRAMS) build-stamp install-stamp build
	rm -rf debian/tmp err out