File: Makefile

package info (click to toggle)
adasockets 1.8.8-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,464 kB
  • ctags: 172
  • sloc: sh: 9,967; ada: 1,689; ansic: 357; makefile: 256
file content (23 lines) | stat: -rw-r--r-- 532 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
# By default, compile all of the demo programs:

EXAMPLES=listener multi stream_listener stream_sender tcpreplay value

all:	$(EXAMPLES)

$(EXAMPLES):	FORCE
	gnatmake -Pexamples 


# "FORCE" just forces the depending rule to always be run.
# In particular, we always want to invoke gnatmake, which then checks to see if
# anything needs recompiling.

FORCE:


clean:
	rm -f $(EXAMPLES) *.o *.ali


# An alternative is to use commands of the form
#    gnatmake `adasockets-config --cflags` $example -largs `adasockets-config --libs`