Initial commit

This commit is contained in:
2022-06-06 14:19:14 +03:00
parent 7d64b442a6
commit 9f231ab96b
4 changed files with 41 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
.PHONY: all clean
CC = qcc # ntox86-gcc
CXX = g++
LFLAGS = -Wall #-Vgcc_ntox86
LIBS = #-l socket
BIN_PATH = ./bin
SOURCE_PATH = ./src
TARGET = $(BIN_PATH)/pcirw
SRCS = $(SOURCE_PATH)/main.c
all:
mkdir -p $(BIN_PATH)
$(CXX) $(LFLAGS) -o $(TARGET) $(SRCS) $(LIBS)
$(BIN_PATH):
mkdir -p $(BIN_PATH)
clean:
rm -f $(TARGET)