split the one file, as the several printing functions will continue to grow
[coreboot.git] / util / inteltool / Makefile
index 044ce6b5d7490f87043e1abaa71da985b74feca6..9b76d216f0a68fc445dfdbe77547aef7886f0671 100644 (file)
@@ -27,7 +27,7 @@ PREFIX  = /usr/local
 CFLAGS  = -O2 -g -Wall -W
 LDFLAGS = -lpci -lz 
 
-OBJS = inteltool.o
+OBJS = inteltool.o cpu.o gpio.o rootcmplx.o powermgt.o memory.o pcie.o
 
 all: pciutils dep $(PROGRAM)
 
@@ -35,11 +35,11 @@ $(PROGRAM): $(OBJS)
        $(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
 
 clean:
-       rm -f *.o *~
+       rm -f $(PROGRAM) *.o *~
 
 distclean: clean
-       rm -f $(PROGRAM) .dependencies
-       
+       rm -f .dependencies
+
 dep:
        @$(CC) -MM *.c > .dependencies