summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1516352996ecfd98629c3413d750808f6c0dc571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LIBS=`pkg-config --libs x11`
INCS=`pkg-config --cflags x11`

OBJS=xas.o test.o

HEADERS=xas.h

.c.o:
	$(CC) -g -Wall $(CFLAGS) $(INCS) -c $*.c


test-async: $(OBJS)
	$(CC) -g -Wall $(CFLAGS) -o $@ $(OBJS) $(LIBS)


$(OBJS): $(HEADERS)

clean:
	rm -fr *.o test-async