File: Makefile

package info (click to toggle)
hostap-utils 1%3A0.3.7-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 288 kB
  • ctags: 1,138
  • sloc: ansic: 4,450; sh: 283; makefile: 30
file content (33 lines) | stat: -rw-r--r-- 742 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
27
28
29
30
31
32
33
ifndef CFLAGS
CFLAGS = -O2 -Wall
endif

# Include directory for CVS version
CFLAGS += -I../driver/modules

all: prism2_srec hostap_crypt_conf hostap_diag hostap_io_debug hostap_rid

prism2_srec: prism2_srec.o util.o

prism2_srec.o: prism2_srec.c util.h

hostap_crypt_conf: hostap_crypt_conf.c

hostap_diag: hostap_diag.o util.o
	$(CC) -o hostap_diag $(CFLAGS) hostap_diag.o util.o

hostap_diag.o: hostap_diag.c util.h

util.o: util.c util.h

hostap_io_debug: hostap_io_debug.c
	$(CC) -o hostap_io_debug $(CFLAGS) hostap_io_debug.c

hostap_rid: hostap_rid.o util.o
	$(CC) -o hostap_rid $(CFLAGS) hostap_rid.o util.o

hostap_rid.o: hostap_rid.c util.h

clean:
	rm -f prism2_srec hostap_crypt_conf hostap_diag hostap_rid \
		hostap_io_debug *.o