File: Makefile

package info (click to toggle)
mrpt 1%3A0.9.0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 67,116 kB
  • ctags: 65,525
  • sloc: cpp: 360,820; ansic: 73,282; sh: 278; makefile: 154; python: 75; xml: 50
file content (28 lines) | stat: -rw-r--r-- 517 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
# Makefile
# Invoke with "make" or "make clean"
 
#### Start of system configuration section. ####
# Use the g++ compiler:
CC = gcc
LINKER = gcc -O
 
DEFS = `VFlib3-config --cflags`
LIBS = `VFlib3-config --libs`
 
CDEBUG = 
CFLAGS = -Wall -pedantic -I.  $(DEFS)
LDFLAGS = $(LIBS) 
 
#### End of system configuration section. ####
TARGET = fonts2cpp
SRCS =  main.c
OBJS =  main.c
 
all:    $(TARGET)
$(TARGET): $(OBJS)
	$(LINKER) -o $@ $(OBJS) $(LDFLAGS)
.cpp.o: 
	$(CC) $(CFLAGS) -c $<  
clean:
	rm -f *.o $(TARGET)