summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/tools/acpisrc/Makefile
blob: 96816ce129c7068c4bde5330b3f22898efacc891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 

PROG=	acpisrc
SRCS=	ascase.c asconvrt.c asfile.c asmain.c asremove.c astable.c \
        asutils.c osunixdir.c ../../common/getopt.c

CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include 


aslmain : $(patsubst %.c,%.o, $(SRCS))
	$(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)

CLEANFILES= $(PROG)

clean : 
	rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS))

OpenPOWER on IntegriCloud