Enable classic mode.
[dockapps.git] / wmacpi / Makefile
blob79f379c36f9fe848451b84d47794c2671308fedc
1 # set options. pick one, acpi or apm. comment out the other one. don't
2 # uncomment both, bad things will happen :)
4 OPT = -O3 -DACPI
5 #OPT = -O3 -DAPM
7 # uncomment this to make wmacpi use less system colors (looks uglier too)
8 #OPT += -DLOW_COLOR
10 # debugging options (don't bother with these)
11 #OPT = -pg -g -DPRO -DACPI
13 CC = gcc
14 CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include
15 LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext
17 SRCS = wmacpi.c libapm.c libacpi.c
18 OBJS = wmacpi.o libapm.o libacpi.o
20 all: wmacpi
22 wmacpi: $(OBJS)
24 clean:
25 rm -f *.o *~ wmacpi trace *.out *.bb *.bbg