File: Makefile

package info (click to toggle)
jester 1.0-13
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 188 kB
  • sloc: ansic: 2,142; makefile: 27
file content (19 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# makefile for jester

CC = gcc -Wall -O2 -g
#CC = gcc -Wall -g
CFLAGS = `dpkg-buildflags --get CFLAGS`
CFLAGS += `dpkg-buildflags --get CPPFLAGS`
CFLAGS += `dpkg-buildflags --get LDFLAGS`
LIBS = -L/usr/X11R6/lib -lX11
INSTALLDIR = /usr/local

jester: jester.c jester.h
	$(CC) $(CFLAGS) -o jester jester.c $(LIBDIR) $(LIBS)

install: jester jester.6
	install jester $(INSTALLDIR)/bin/jester
	install -m 644 jester.6 $(INSTALLDIR)/man/man6/jester.6

clean:
	rm -f jester