summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/Makefile
blob: ec5bbf977795525e556e6535dfca63b689a30ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ARCH := $(shell arch | egrep "(x86_64|sparc64|s390x)")
ifneq ("x$(ARCH)", "x")
LIB_NAME = lib64
else
LIB_NAME = lib
endif

CFLAGS = -Wall -Os
LDFLAGS = -L/usr/X11R6/$(LIB_NAME) -lX11
CFILES = $(wildcard *.c)
OFILES = $(CFILES:%.c=%.o)
GOAL = aewm-drakx

$(GOAL): $(OFILES)

clean:
	rm -f $(GOAL) $(OFILES) TAGS *~