debian/Makefile
raw| 1 | # Makefile for showfont |
| 2 | |
| 3 | CC = gcc |
| 4 | CFLAGS = -Wall -O |
| 5 | LIBS = -I/usr/include/SDL -lSDL_ttf |
| 6 | EXE = showfont glfont |
| 7 | |
| 8 | all: $(EXE) |
| 9 | |
| 10 | showfont: showfont.c Makefile |
| 11 | $(CC) -o $@ [email protected] $(CFLAGS) $(LIBS) |
| 12 | |
| 13 | glfont: glfont.c Makefile |
| 14 | $(CC) -o $@ [email protected] $(CFLAGS) $(LIBS) |
| 15 | |
| 16 | clean: |
| 17 | -rm *.o $(EXE) |