File: Makefile

package info (click to toggle)
xrootconsole 990119-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 88 kB
  • ctags: 38
  • sloc: ansic: 324; makefile: 61
file content (24 lines) | stat: -rw-r--r-- 452 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
24
TARGET = xrootconsole
BINDIR = $(DESTDIR)/usr/bin

CC = gcc
CPPFLAGS =
CFLAGS = -O2 -DNDEBUG -Wall "-DSTARTUP_MESSAGE=\"xrootconsole-990119 (Debian)\n\""
LDFLAGS = -s
LIBS = -L/usr/X11R6/lib -lX11 -lutil
OBJS = console.o main.o util.o

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@

clean:
	rm -f $(TARGET) *.o core *~

install:
	install -s $(TARGET) $(BINDIR)

console.o: console.h
main.o: console.h util.h
util.o: util.h