File: Makefile.FreeBSD

package info (click to toggle)
bfm 0.6.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 452 kB
  • sloc: ansic: 5,239; makefile: 106
file content (37 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (11)
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
36
37
# bubblemon configuration
EXTRA = -DENABLE_DUCK
EXTRA += -DENABLE_CPU 
EXTRA += -DENABLE_MEMSCREEN
EXTRA += -DUPSIDE_DOWN_DUCK

EXTRA += $(WMAN)

# no user serviceable parts below
CC = gcc

# optimization cflags
CFLAGS = -O3 -ansi -Wall `gtk-config --cflags` ${EXTRA}
# profiling cflags
# CFLAGS = -ansi -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO
# test coverage cflags
# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g `gtk-config --cflags` ${EXTRA} -DPRO

LIBS = `gtk-config --libs | sed "s/-l.*//g"` -lgdk12 -lkvm
PREFIX = /usr/X11R6
VPATH = include

all: bubblemon

bubblemon: bubblemon.o sys_freebsd.o
	gcc ${CFLAGS} -o bubblemon bubblemon.o sys_freebsd.o ${LIBS}

clean:
	rm -f bubblemon bubblemon.o *.o *.bb* *.gcov gmon.* *.da winglue.c bubblemon32 *.so win32.spec *~ *.gmon *.s *.core

install:
	install -c -g kmem -m 2755 -o root bubblemon ${PREFIX}/bin

bubblemon.o: bubblemon.h ducks.h master.xpm sys_include.h digits.h \
	load_screen.h mem_screen.h

sys_freebsd.o: bubblemon.h