Skip to content

Commit

Permalink
fix shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
okbob committed Feb 25, 2020
1 parent 4ae4b8e commit b27cd21
Show file tree
Hide file tree
Showing 6 changed files with 1,337 additions and 307 deletions.
22 changes: 13 additions & 9 deletions Makefile
@@ -1,4 +1,4 @@
all: libst_menu.so libst_menu.a demoapp demoapp_sl simple
all: libst_menu.so libst_menu.a demoapp demoapp_sl simple simple2

# possible to use gcc flag -DNCURSES_WIDECHAR=1 where is possible
# then any unicode char can be a accelerator
Expand Down Expand Up @@ -40,6 +40,9 @@ demoapp_sl: demo/demo.c libst_menu.so libst_menu.a include/st_menu.h
simple: demo/simple.c libst_menu.a include/st_menu.h
$(CC) demo/simple.c -o simple libst_menu.a -Wall $(LDLIBS) $(LIB_UNISTRING) -Iinclude

simple2: demo/simple2.c libst_menu.a include/st_menu.h
$(CC) demo/simple2.c -o simple2 libst_menu.a -Wall $(LDLIBS) $(LIB_UNISTRING) -Iinclude

st_menu.pc.install:
tools/install.sh data st_menu.pc $(PKG_CONFIG_PATH)

Expand All @@ -49,11 +52,12 @@ install: libst_menu.so libst_menu.a $(PKG_CONFIG_TARGET)
tools/install.sh bin libst_menu.a $(LIBDIR)

clean:
rm st_menu_styles.o
rm st_menu.o
rm libst_menu.so
rm libst_menu.a
rm demoapp
rm demoapp_sl
rm simple
test -f unicode.o && rm unicode.o || true
rm -f st_menu_styles.o
rm -f st_menu.o
rm -f libst_menu.so
rm -f libst_menu.a
rm -f demoapp
rm -f demoapp_sl
rm -f simple
rm -f simple2
rm -f unicode.o
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -46,7 +46,8 @@ It does only pulldown menus and menubars, nothing else. It is not complex framew
./demo

Creates `demo` and `demo_sl`. `demo_sl` uses shared library - and it can be executed by
`LD_LIBRARY_PATH=. /.demo_sl`.
`LD_LIBRARY_PATH=. /.demo_sl`. Note: when you doesn't modify `LD_LIBRARY_PATH`, you should
to run `make install` for correct behave of demo_sl (demo with shared library).

`Command|Set style` submenu is active - you can change styles interactivly.

Expand Down

0 comments on commit b27cd21

Please sign in to comment.