1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

Libraries: Add LibPCIDB for reading PCI device information from pci.ids

This commit is contained in:
Conrad Pankoff 2019-08-14 18:09:53 +10:00 committed by Andreas Kling
parent fdcff7d15e
commit ecde025375
6 changed files with 332 additions and 1 deletions

View file

@ -0,0 +1,20 @@
include ../../Makefile.common
OBJS = \
Database.o
LIBRARY = libpcidb.a
DEFINES += -DUSERLAND
all: $(LIBRARY)
$(LIBRARY): $(OBJS)
@echo "LIB $@"; $(AR) rcs $@ $(OBJS) $(LIBS)
.cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
-include $(OBJS:%.o=%.d)
clean:
@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d