Made the queuemaintest a multithreading example, because why not.
This commit is contained in:
parent
f5549a19bf
commit
897674d20f
|
@ -64,6 +64,7 @@ example: libui
|
||||||
examples:
|
examples:
|
||||||
@$(MAKE) -f GNUmakefile example EXAMPLE=controlgallery
|
@$(MAKE) -f GNUmakefile example EXAMPLE=controlgallery
|
||||||
@$(MAKE) -f GNUmakefile example EXAMPLE=histogram
|
@$(MAKE) -f GNUmakefile example EXAMPLE=histogram
|
||||||
|
@$(MAKE) -f GNUmakefile example EXAMPLE=cpp-multithread
|
||||||
|
|
||||||
.PHONY: examples
|
.PHONY: examples
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,13 @@ endif
|
||||||
|
|
||||||
include $(OS)/GNUosspecific.mk
|
include $(OS)/GNUosspecific.mk
|
||||||
|
|
||||||
|
ifneq ($(findstring cpp-,$(EXAMPLE)),)
|
||||||
|
CXXFILES += \
|
||||||
|
examples/$(EXAMPLE)/main.cpp
|
||||||
|
else
|
||||||
CFILES += \
|
CFILES += \
|
||||||
examples/$(EXAMPLE)/main.c
|
examples/$(EXAMPLE)/main.c
|
||||||
|
endif
|
||||||
|
|
||||||
HFILES += \
|
HFILES += \
|
||||||
ui.h
|
ui.h
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "../ui.h"
|
#include "../../ui.h"
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
uiMultilineEntry *e;
|
uiMultilineEntry *e;
|
Loading…
Reference in New Issue