aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.in
blob: b40c3420a0c0b0c470c7b3a3efcc57867f672f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
BINDIR = @BINDIR@

VPATH=.:os

OBJECTS = border.o button.o client.o clock.o color.o command.o confirm.o \
	cursor.o debug.o desktop.o dock.o error.o event.o font.o group.o \
	help.o hint.o icon.o image.o key.o lex.o main.o match.o menu.o   \
	misc.o move.o outline.o pager.o parse.o place.o popup.o render.o \
	resize.o root.o screen.o status.o swallow.o taskbar.o theme.o    \
	timing.o tray.o traybutton.o winmenu.o

EXE = jwm

.SUFFIXES: .o .h .c

all: $(EXE)

install: all
	strip $(EXE)
	install -d $(BINDIR)
	install $(EXE) $(BINDIR)/$(EXE)

depend:
	makedepend -m -- $(CFLAGS) -- *.c

$(EXE): $(OBJECTS)
	$(CC) -o $(EXE) $(OBJECTS) $(LDFLAGS)

.c.o:
	$(CC) -c $(CFLAGS) $<

clean:
	rm -f $(OBJECTS) $(EXE) core