File: Makefile

package info (click to toggle)
gnarwl 3.6.dfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 856 kB
  • ctags: 288
  • sloc: ansic: 1,163; makefile: 119; sh: 70; php: 44
file content (20 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
OBJ=config.o dbaccess.o util.o mailhandler.o
SOBJ=config.o dbaccess.o util.o

catch:
	$(MAKE) -C ..

all: clean compile

compile: $(OBJ) $(SOBJ)
	$(CC) $(CFLAGS) -o $(BIN) gnarwl.c $(OBJ) $(LFLAGS)
	$(CC) $(CFLAGS) -o $(SBIN) damnit.c $(SOBJ) $(LFLAGS)

clean:
	rm -f DEADJOE *.o *~ $(BIN) $(SBIN)

install:
	mkdir -m 755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(SBINDIR)
	install -m 755 -s $(BIN) $(DESTDIR)$(BINDIR)
	install -m 755 -s $(SBIN) $(DESTDIR)$(SBINDIR)