Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/pci/Makefile

    re5773c6 rb3d513f  
    2828#
    2929
    30 USPACE_PREFIX = ../../../..
    31 LIBS = $(LIBPCI_PREFIX)/libpci.a $(LIBC_PREFIX)/libc.a
    32 EXTRA_CFLAGS = -I$(LIBPCI_PREFIX)
     30include Makefile.common
    3331
    34 OUTPUT = pci
     32.PHONY: all clean
    3533
    36 SOURCES = \
    37         pci.c
     34all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
     35        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3837
    39 include ../../../Makefile.common
     38$(LIBPCI):
     39        $(MAKE) -C libpci PRECHECK=$(PRECHECK)
     40
     41clean:
     42        $(MAKE) -C libpci clean
     43        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     44        find . -name '*.o' -follow -exec rm \{\} \;
Note: See TracChangeset for help on using the changeset viewer.