File: Makefile

package info (click to toggle)
sdl-ttf2.0 2.0.11-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 12,308 kB
  • sloc: sh: 10,170; ansic: 6,423; objc: 520; csh: 219; makefile: 66
file content (17 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Makefile for showfont

CC = gcc
CFLAGS = -Wall -O
LIBS = -I/usr/include/SDL -lSDL_ttf
EXE = showfont glfont

all: $(EXE)

showfont: showfont.c Makefile
	$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)

glfont: glfont.c Makefile
	$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)

clean:
	-rm *.o $(EXE)