blob: ccea03ee0d9b19b8dcba87b6184f3d24459b716d [file] [log] [blame]
xf.libdd93d52023-05-12 07:10:14 -07001
2CC=gcc -g
3RM = rm
4INCLUDES += -I./
5CFLAGS += $(INCLUDES)
6OBJS = main.o CSerial.o LogInfo.o download.o devUsb.o
7LIBS += #-lpthread
8TARGET = zdownloader
9
10all:$(TARGET)
11$(TARGET):$(OBJS) $(LIBS)
12 $(CC) $(OBJS) $(LIBS) -o $@
13
14%o:%cpp
15 $(CC) -c $(CFLAGS) $(LIBS) $< -o $@
16
17clean:
18 -$(RM) *.o $(TARGET)
19