Install libgpanel.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
TOPSRC = $(shell cd ..; pwd)
|
||||
SUBDIR = startup libc libm libcurses libtermlib libwiznet libreadline
|
||||
SUBDIR = startup libc libm libcurses libtermlib libwiznet libreadline libgpanel
|
||||
PROG = ar as aout ld nm ranlib size strip
|
||||
|
||||
CFLAGS += -std=gnu89 -fno-builtin -g -Werror -Wall -DCROSS -I. \
|
||||
|
||||
18
lib/libgpanel/Makefile
Normal file
18
lib/libgpanel/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
TOPSRC = $(shell cd ../..; pwd)
|
||||
include $(TOPSRC)/target.mk
|
||||
|
||||
vpath %.c $(TOPSRC)/src/libgpanel
|
||||
|
||||
CFLAGS += -B$(TOPSRC)/lib/ $(DEFS) -Wa,-x -Wall -Werror
|
||||
|
||||
OBJS = open.o clear.o pixel.o line.o rect.o fill.o circle.o \
|
||||
image.o char.o text.o text_width.o
|
||||
|
||||
all: ../libgpanel.a
|
||||
|
||||
../libgpanel.a: ../ar ../ranlib $(OBJS)
|
||||
../ar rc $@ $(OBJS)
|
||||
../ranlib $@
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o a.out *.a
|
||||
Reference in New Issue
Block a user