File: Makefile

package info (click to toggle)
mrpt 1%3A2.15.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 92,456 kB
  • sloc: cpp: 555,366; ansic: 36,840; xml: 3,872; python: 2,195; sh: 524; makefile: 232
file content (28 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (9)
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)