Home | History | Annotate | Line # | Download | only in acpixtract
Makefile revision 1.1.1.2
      1 #
      2 # acpixtract - extract binary ACPI tables from acpidump text output
      3 #
      4 
      5 #
      6 # Note: This makefile is intended to be used from within the native
      7 # ACPICA directory structure, from under generate/unix. It specifically
      8 # places all object files in a generate/unix subdirectory, not within
      9 # the various ACPICA source directories. This prevents collisions
     10 # between different compilations of the same source file with different
     11 # compile options, and prevents pollution of the source code.
     12 #
     13 include ../Makefile.config
     14 PROG = acpixtract
     15 
     16 OBJS = \
     17     acpixtract.o
     18 
     19 #
     20 # Root rule
     21 #
     22 $(PROG) : $(OBJS)
     23 	$(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
     24 
     25 #
     26 # acpixtract source
     27 #
     28 acpixtract.o :          $(ACPICA_TOOLS)/acpixtract/acpixtract.c
     29 	$(COMPILE)
     30 
     31 
     32 clean :
     33 	rm -f $(PROG) $(PROG).exe
     34 
     35 install :
     36 	$(INSTALLPROG)
     37