forked from KolibriOS/kolibrios
18 lines
402 B
Makefile
18 lines
402 B
Makefile
|
|
||
|
|
||
|
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))
|
||
|
|