summaryrefslogtreecommitdiff
blob: 33ee8c38301084ad405a0ac2ab3cb0cadc023567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CC = @CC@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
WARNINGS_FLAGS = -Wall -Wextra
ASFLAGS = @ASFLAGS@
LDFLAGS = @LDFLAGS@
EXEEXT = @EXEEXT@

all: python-wrapper$(EXEEXT)

python-wrapper$(EXEEXT): config.h python-wrapper.c
	$(CC) $(CPPFLAGS) $(CFLAGS) $(WARNINGS_FLAGS) $(ASFLAGS) $(LDFLAGS) -o $@ python-wrapper.c

clean:
	rm -fr python-wrapper$(EXEEXT)

distclean: clean
	rm -fr config.h config.log config.status Makefile

extraclean: distclean
	rm -fr config.h.in configure