File: Makefile

package info (click to toggle)
python-aalib 0.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140 kB
  • sloc: python: 334; ansic: 38; makefile: 28; sh: 12
file content (26 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (3)
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
# Copyright © 2021 Jakub Wilk <jwilk@jwilk.net>
# SPDX-License-Identifier: MIT

PYTHON = python

CFLAGS ?= -O2 -g
CFLAGS += -Wall

.PHONY: all
all: smoke-test

.PHONY: smoke-test
smoke-test:
	$(PYTHON) test.py

.PHONY: abi-test
abi-test: dump-abi
	./dump-abi > abi.c.txt
	$(PYTHON) dump-abi.py > abi.py.txt
	diff -U999 abi.c.txt abi.py.txt

.PHONY: clean
clean:
	rm -f dump-abi abi.*.txt

# vim:ts=4 sts=4 sw=4 noet