Skip to content
Snippets Groups Projects
Commit a1f5b8d5 authored by deuce's avatar deuce
Browse files

QNX Support

parent ef82464d
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,12 @@ ifeq ($(os),freebsd) # FreeBSD ...@@ -35,8 +35,12 @@ ifeq ($(os),freebsd) # FreeBSD
else else
ifeq ($(os),openbsd) # OpenBSD ifeq ($(os),openbsd) # OpenBSD
LIBS += -pthread LIBS += -pthread
else # Linux / Generic UNIX else
LIBS += -lpthread ifeq ($(os),qnx) # QNX
LIBS += -lsocket
else # Linux / Generic UNIX
LIBS += -lpthread
endif #! QNX
endif #! OpenBSD endif #! OpenBSD
endif #! FreeBSD endif #! FreeBSD
...@@ -53,4 +57,4 @@ sbjclean: sbjclean.o $(OBJS) ...@@ -53,4 +57,4 @@ sbjclean: sbjclean.o $(OBJS)
$(CC) $(CFLAGS) $^ -o $@ $(LIBS) $(CC) $(CFLAGS) $^ -o $@ $(LIBS)
clean: clean:
rm -f *.o rm -f *.o
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment