Browse Source

Added required flag to compile on msys2/windows

refactor
5 years ago
parent
commit
ca991e846c
  1. 2
      Makefile

2
Makefile

@ -8,6 +8,8 @@ all: main @@ -8,6 +8,8 @@ all: main
main: $(SDIR)/main.cpp $(SDIR)/Decoder.cpp $(SDIR)/Printer.cpp $(SDIR)/Fileproc.cpp $(SDIR)/Ecc.cpp $(SDIR)/Crc16.cpp
$(CC) $^ $(CFLAGS) -o $(EX)
msys: $(SDIR)/main.cpp $(SDIR)/Decoder.cpp $(SDIR)/Printer.cpp $(SDIR)/Fileproc.cpp $(SDIR)/Ecc.cpp $(SDIR)/Crc16.cpp
$(CC) $^ $(CFLAGS) -o $(EX) -mwin32
clean:
rm *.o *.log $(EX)

Loading…
Cancel
Save