summaryrefslogtreecommitdiff
path: root/Libraries/LibDraw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibDraw/Makefile')
-rw-r--r--Libraries/LibDraw/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/Libraries/LibDraw/Makefile b/Libraries/LibDraw/Makefile
index dc2952ba92..8923d22f9c 100644
--- a/Libraries/LibDraw/Makefile
+++ b/Libraries/LibDraw/Makefile
@@ -1,5 +1,3 @@
-include ../../Makefile.common
-
OBJS = \
CharacterBitmap.o \
Color.o \
@@ -15,17 +13,10 @@ OBJS = \
Emoji.o
LIBRARY = libdraw.a
-DEFINES += -DUSERLAND
-
-all: $(LIBRARY)
-$(LIBRARY): $(OBJS)
- @echo "LIB $@"; $(AR) rcs $@ $(OBJS) $(LIBS)
+install:
+ mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibDraw/
+ cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibDraw/
+ cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
-.cpp.o:
- @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
-
--include $(OBJS:%.o=%.d)
-
-clean:
- @echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d
+include ../../Makefile.common