File: Makefile

package info (click to toggle)
tuxpuck 0.8.2-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 880 kB
  • sloc: ansic: 3,317; makefile: 108
file content (22 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile for TuxPuck Utils , Copyright Jacob Kroon 2001-2002
CC_FOR_BUILD	= gcc
CFLAGS		+= -g -Wall -Werror
#############################################################

all : ttf2font data2c anim

ttf2font : ttf2font.c
	$(CC_FOR_BUILD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) ttf2font.c `pkg-config --cflags --libs freetype2` -o ttf2font

data2c : data2c.c
	$(CC_FOR_BUILD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) data2c.c -o data2c

anim : anim.c
	$(CC_FOR_BUILD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) anim.c -o anim

clean :
	rm -f *~ data2c ttf2font anim

indent :
	indent -br -brs -sob -ce -c50 -npsl -npcs data2c.c ttf2font.c anim.c
	rm -f *~