summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-03-19 09:46:12 -0300
committerGitHub <noreply@github.com>2021-03-19 08:46:12 -0400
commit7e866e8afe94e7fe2e5316d99edf15c81722f506 (patch)
tree220dbefb40d490f31bdebd872276b3173efecc7d /lib
parent5e95bed8fd98fe0967d4c6808199d681ec5079e5 (diff)
Fix `make setup` (#95)
* Fix `make setup` Signed-off-by: angie <angheloalf95@gmail.com> * Use current libgfxd makefile instead Signed-off-by: Angie <angheloalf95@gmail.com> * change make clean a bit Signed-off-by: Angie <angheloalf95@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libgfxd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libgfxd/Makefile b/lib/libgfxd/Makefile
index ffa49a6..b340ff5 100644
--- a/lib/libgfxd/Makefile
+++ b/lib/libgfxd/Makefile
@@ -7,7 +7,7 @@ CPPFLAGS-$(MT) += -DCONFIG_MT
CPPFLAGS += $(CPPFLAGS-y)
.PHONY: all
-all: $(LIB)($(OBJ))
+all: $(LIB)
.PHONY: clean
clean:
@@ -17,3 +17,9 @@ clean:
$(OBJ): gbi.h gfxd.h priv.h
$(UC_OBJ): uc.c uc_argfn.c uc_argtbl.c uc_macrofn.c uc_macrotbl.c
+
+$(LIB): $(OBJ)
+ $(AR) rcs $@ $^
+
+%.o: %.c
+ $(COMPILE.c) $(OUTPUT_OPTION) $<