File: Makefile

package info (click to toggle)
python-plwm 2.6a%2B20080530-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,048 kB
  • ctags: 1,781
  • sloc: python: 7,574; ansic: 1,075; xml: 109; makefile: 83
file content (23 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# FIXME: this should be replaced by a configure:d makefile

CC	  = gcc
LD	  = gcc
CPPFLAGS += -I/usr/X11R6/include
CFLAGS	 += -Wall -g -O
LDFLAGS	 += -g
LIBS	 += -L/usr/X11R6/lib -lX11 -lXfixes -lXcomposite -lXdamage -lXrender -lGL

TARGET	= plcm
OBJS	= main.o events.o projection.o trans_glx.o trans_render.o
HEADERS = plcm.h

all: $(TARGET)

$(TARGET): $(OBJS)
	$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)

# manual header dependency is good enough for this little hack
$(OBJS): $(HEADERS)

clean:
	rm -f $(TARGET) *.o