File: Makefile.orig

package info (click to toggle)
gdpc 2.2.5-14
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,596 kB
  • sloc: ansic: 5,906; makefile: 141; sh: 55
file content (35 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (8)
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
32
33
34
35
CC = gcc -g
CFLAGS=-Wall `pkg-config --cflags gtk+-2.0 gthread-2.0` -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
LIBS=`pkg-config --libs gtk+-2.0 gthread-2.0`
bindir ?= /usr/bin

.c.o:
	$(CC) -c $(CFLAGS) $(CPPFLAGS) $<

gdpc: main.o colors.o sort.o drawatoms.o readinput.o init.o rotate.o setup.o Makefile
	$(CC) $(CFLAGS) -o gdpc main.o colors.o drawatoms.o init.o sort.o rotate.o setup.o readinput.o $(LIBS)

main.o: main.c parameters.h

colors.o: colors.c parameters.h

readinput.o: readinput.c parameters.h

drawatoms.o: drawatoms.c parameters.h

init.o: init.c parameters.h

sort.o: sort.c parameters.h

rotate.o: rotate.c parameters.h

setup.o: setup.c parameters.h tooltips.h

clean:
	rm *.o gdpc

install:
	install gdpc $(bindir)

uninstall:
	rm $(bindir)/gdpc