2020-05-29 11:09:39 +08:00
|
|
|
CROSS_COMPILE ?=
|
|
|
|
CC := $(CROSS_COMPILE)gcc
|
|
|
|
STRIP := $(CROSS_COMPILE)strip
|
|
|
|
CFLAGS += -g -O2 -Wall
|
2020-08-16 07:56:52 +08:00
|
|
|
LIBS =
|
2020-05-29 11:09:39 +08:00
|
|
|
OBJ := ais
|
|
|
|
|
2020-11-16 11:10:11 +08:00
|
|
|
all: ais.o conf.o
|
2020-05-29 11:09:39 +08:00
|
|
|
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $< $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *.o
|
|
|
|
rm $(OBJ)
|
|
|
|
|