blob: ccea03ee0d9b19b8dcba87b6184f3d24459b716d [file] [log] [blame]
CC=gcc -g
RM = rm
INCLUDES += -I./
CFLAGS += $(INCLUDES)
OBJS = main.o CSerial.o LogInfo.o download.o devUsb.o
LIBS += #-lpthread
TARGET = zdownloader
all:$(TARGET)
$(TARGET):$(OBJS) $(LIBS)
$(CC) $(OBJS) $(LIBS) -o $@
%o:%cpp
$(CC) -c $(CFLAGS) $(LIBS) $< -o $@
clean:
-$(RM) *.o $(TARGET)