File: Makefile

package info (click to toggle)
literki 0.0.0+20100113.git1da40724-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 3,444 kB
  • ctags: 1,153
  • sloc: cpp: 5,263; makefile: 72
file content (18 lines) | stat: -rw-r--r-- 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PLIKI=display.o keymap.o keys.o keyboard.o applet.o launcher.o logger.o slider.o image_cache.o touchpad.o switcher.o vibrator.o

LIBS=-lX11 -lXext -lXtst -lpthread -lXrandr -lpng -lfakekey -lfreetype

CXXCOMPILE=g++

CFLAGS=-g `freetype-config --cflags`
LDFLAGS=-g `freetype-config --libs`

%.o: %.cpp
	$(CXXCOMPILE) $(CFLAGS) -c $<

all:	$(PLIKI)
	g++ $(LDFLAGS) -o literki $(PLIKI) $(LIBS)

clean:	
	rm *.o
	rm literki