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:
|
||||
@$(MAKE) -f GNUmakefile example EXAMPLE=controlgallery
|
||||
@$(MAKE) -f GNUmakefile example EXAMPLE=histogram
|
||||
@$(MAKE) -f GNUmakefile example EXAMPLE=cpp-multithread
|
||||
|
||||
.PHONY: examples
|
||||
|
||||
|
|
|
@ -9,8 +9,13 @@ endif
|
|||
|
||||
include $(OS)/GNUosspecific.mk
|
||||
|
||||
ifneq ($(findstring cpp-,$(EXAMPLE)),)
|
||||
CXXFILES += \
|
||||
examples/$(EXAMPLE)/main.cpp
|
||||
else
|
||||
CFILES += \
|
||||
examples/$(EXAMPLE)/main.c
|
||||
endif
|
||||
|
||||
HFILES += \
|
||||
ui.h
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "../ui.h"
|
||||
#include "../../ui.h"
|
||||
using namespace std;
|
||||
|
||||
uiMultilineEntry *e;
|
Loading…
Reference in New Issue