mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-07-08 18:16:15 +00:00
Dynamic libs for sdl1 needs work, should probably be deprecated anyway.
This commit is contained in:
@@ -36,7 +36,6 @@ LINK = $(CC)
|
||||
LDFLAGS = $(LIBCURSES) $(SLIBS)
|
||||
RANLIB = ranlib
|
||||
LIBCURSES = pdcurses.a
|
||||
LIBCURSES_SO = pdcurses.so
|
||||
|
||||
DEMOS += sdltest
|
||||
|
||||
@@ -44,10 +43,10 @@ DEMOS += sdltest
|
||||
|
||||
all: libs
|
||||
|
||||
libs: $(LIBCURSES) $(LIBCURSES_SO)
|
||||
libs: $(LIBCURSES)
|
||||
|
||||
clean:
|
||||
-rm -rf *.o trace $(LIBCURSES) $(LIBCURSES_SO) $(DEMOS)
|
||||
-rm -rf *.o trace $(LIBCURSES) $(DEMOS)
|
||||
|
||||
demos: $(DEMOS)
|
||||
ifneq ($(DEBUG),Y)
|
||||
@@ -58,9 +57,6 @@ $(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
|
||||
ar rv $@ $?
|
||||
-$(RANLIB) $@
|
||||
|
||||
$(LIBCURSES_SO) : $(LIBOBJS) $(PDCOBJS)
|
||||
$(CC) -shared -o $@ $? $(SLIBS)
|
||||
|
||||
$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
|
||||
$(PDCOBJS) : $(PDCURSES_SDL_H)
|
||||
$(DEMOS) : $(PDCURSES_CURSES_H) $(LIBCURSES)
|
||||
|
||||
@@ -9,8 +9,8 @@ Building
|
||||
|
||||
- On *nix (including Linux), run "make" in the sdl1 directory. There is
|
||||
no configure script (yet?) for this port. This assumes a working
|
||||
sdl-config, and GNU make. It builds the libraries pdcurses.a and
|
||||
pdcurses.so.
|
||||
sdl-config, and GNU make. It builds the library pdcurses.a (dynamic
|
||||
lib not implemented).
|
||||
|
||||
- The makefile accepts the optional parameter "DEBUG=Y", and recognizes
|
||||
the optional PDCURSES_SRCDIR environment variable, as with the console
|
||||
|
||||
Reference in New Issue
Block a user