File: Makefile

package info (click to toggle)
axe-demultiplexer 0.3.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 848 kB
  • sloc: ansic: 4,480; python: 352; makefile: 171; sh: 47
file content (30 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (4)
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
VERSION=1.0.1

all: tt-demo

.c.o:
	gcc -Wall -g -O2 -c $<

tinytest.o: tinytest.h

tinytest_demo.o: tinytest_macros.h tinytest.h

OBJS=tinytest.o tinytest_demo.o

tt-demo: $(OBJS)
	gcc -Wall -g -O2 $(OBJS) -o tt-demo

lines:
	wc -l tinytest.c tinytest_macros.h tinytest.h

clean:
	rm -f *.o *~ tt-demo

DISTFILES=tinytest.c tinytest_demo.c tinytest.h tinytest_macros.h Makefile \
	README

dist:
	rm -rf tinytest-$(VERSION)
	mkdir tinytest-$(VERSION)
	cp $(DISTFILES) tinytest-$(VERSION)
	tar cf - tinytest-$(VERSION) | gzip -c -9 > tinytest-$(VERSION).tar.gz