libcw/Makefile

34 lines
1017 B
Makefile
Raw Normal View History

2019-12-19 03:24:12 +00:00
HDR = cwCommon.h cwCommonImpl.h cwMem.h cwLog.h
SRC = main.cpp cwCommonImpl.cpp cwMem.cpp cwLog.cpp
HDR += cwFileSys.h cwText.h cwFile.h cwTime.h cwLex.h cwNumericConvert.h
SRC += cwFileSys.cpp cwText.cpp cwFile.cpp cwTime.cpp cwLex.cpp
2019-12-19 03:24:12 +00:00
HDR += cwObject.h cwTextBuf.h cwThread.h cwMpScNbQueue.h
2019-12-19 03:24:12 +00:00
SRC += cwObject.cpp cwTextBuf.cpp cwThread.cpp
HDR += cwWebSock.h cwWebSockSvr.h
SRC += cwWebSock.cpp cwWebSockSvr.cpp
2019-12-19 03:24:12 +00:00
HDR += cwSerialPort.h cwSerialPortSrv.h
SRC += cwSerialPort.cpp cwSerialPortSrv.cpp
2019-12-19 03:24:12 +00:00
HDR += cwMidi.h cwMidiPort.h
SRC += cwMidi.cpp cwMidiPort.cpp cwMidiAlsa.cpp
HDR += cwAudioBuf.h cwAudioPort.h cwAudioPortAlsa.h
SRC += cwAudioBuf.cpp cwAudioPort.cpp cwAudioPortAlsa.cpp
LIBS = -lpthread -lwebsockets -lasound
WS_DIR = /home/kevin/sdk/libwebsockets/build/out
INC_PATH = $(WS_DIR)/include
LIB_PATH = $(WS_DIR)/lib
2019-12-19 03:24:12 +00:00
cw_rt : $(SRC) $(HDR)
g++ -g --std=c++17 $(LIBS) -Wall -L$(LIB_PATH) -I$(INC_PATH) -DcwLINUX -o $@ $(SRC)
2019-12-19 03:24:12 +00:00