File: Makefile

package info (click to toggle)
postmark 1.11-0
  • links: PTS
  • area: main
  • in suites: potato
  • size: 72 kB
  • ctags: 98
  • sloc: ansic: 864; makefile: 56
file content (23 lines) | stat: -rw-r--r-- 370 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

MAINSRC=postmark-1_11.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