File: makefile

package info (click to toggle)
hivelytracker 0+git20180223-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,092 kB
  • sloc: ansic: 19,601; objc: 434; cpp: 175; makefile: 88
file content (31 lines) | stat: -rwxr-xr-x 646 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
25
26
27
28
29
30
31

CFLAGS = -Wall -O3 -gstabs -I.

CC = gcc
AR = ar
RANLIB = ranlib
DEBUGLIB =
LFLAGS = -use-dynld -lm -gstabs

all: ht

ht: ht.o gui.o util.o replay.o about.o undo.o
	$(CC) -o ht ht.o gui.o util.o replay.o about.o undo.o $(LFLAGS)

ht.o: ht.c gui.h replay.h about.h
	$(CC) -c ht.c -o ht.o $(CFLAGS)

gui.o: gui.c gui.h util.h replay.h
	$(CC) -c gui.c -o gui.o $(CFLAGS)

util.o: util.c util.h
	$(CC) -c util.c -o util.o $(CFLAGS)

replay.o: replay.c replay.h undo.h
	$(CC) -c replay.c -o replay.o $(CFLAGS)

about.o: about.c about.h gui.h
	$(CC) -c about.c -o about.o $(CFLAGS)

undo.o: undo.c undo.h replay.h
	$(CC) -c undo.c -o undo.o $(CFLAGS)