mirror of
https://github.com/ProDOS-8/xHD.git
synced 2025-02-19 23:29:29 +00:00
It's done in https://github.com/scottmudge/libserialport-cmake/blob/master/CMakeLists.txt#L39 therefore I did it too but it isn't necessary and it isn't done in https://sigrok.org/gitweb/?p=libserialport.git;a=blob;f=configure.ac;hb=HEAD#l95.
16 lines
216 B
Makefile
16 lines
216 B
Makefile
xHDServer: main.o
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
|
|
|
LDLIBS = -lserialport
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
|
|
LDLIBS += -lsetupapi
|
|
|
|
CC = gcc
|
|
CXX = g++
|
|
CPPFLAGS = -m64 -I win32
|
|
LDFLAGS = -m64 -L win32
|
|
|
|
endif # Windows_NT
|