Skip to content
Snippets Groups Projects
Unverified Commit b322ff2f authored by recallmenot's avatar recallmenot Committed by GitHub
Browse files

revert Makefile

parent 1389ca3b
No related branches found
No related tags found
No related merge requests found
OS_NAME := $(shell uname -s | tr A-Z a-z)
TOOLS:=minichlink minichlink.so TOOLS:=minichlink minichlink.so
all : $(TOOLS) all : $(TOOLS)
...@@ -12,9 +10,10 @@ C_S:=minichlink.c pgm-wch-linke.c pgm-esp32s2-ch32xx.c nhc-link042.c minichgdb.c ...@@ -12,9 +10,10 @@ C_S:=minichlink.c pgm-wch-linke.c pgm-esp32s2-ch32xx.c nhc-link042.c minichgdb.c
# gdb-multilib {file} # gdb-multilib {file}
# target remote :2345 # target remote :2345
ifeq ($(OS_name),windows_nt) ifeq ($(OS),Windows_NT)
LDFLAGS:=-lpthread -lusb-1.0 -lsetupapi LDFLAGS:=-lpthread -lusb-1.0 -lsetupapi
else else
OS_NAME := $(shell uname -s | tr A-Z a-z)
ifeq ($(OS_NAME),linux) ifeq ($(OS_NAME),linux)
LDFLAGS:=-lpthread -lusb-1.0 -ludev LDFLAGS:=-lpthread -lusb-1.0 -ludev
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment