File: Makefile

package info (click to toggle)
mrpt 1%3A1.4.0-7
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 65,000 kB
  • ctags: 84,479
  • sloc: cpp: 417,767; ansic: 95,106; xml: 3,792; python: 412; sh: 276; makefile: 225; ruby: 30
file content (28 lines) | stat: -rw-r--r-- 517 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
# 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)