ais/Makefile

17 lines
243 B
Makefile
Raw Normal View History

2020-05-29 11:09:39 +08:00
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS += -g -O2 -Wall
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)