1 2OBJ_FILES = pmset.o powermanagementUser.o 3 4CFLAGS = -g -DSTANDALONE -Wall -arch i386 5FRAMEWORKS = -framework IOKit -framework CoreFoundation -framework SystemConfiguration 6 7pmset: $(OBJ_FILES) 8 cc -o pmset $(CFLAGS) $(OBJ_FILES) $(FRAMEWORKS) 9 10powermanagement.h powermanagementUser.c: powermanagement.defs 11 mig powermanagement.defs 12 13powermnagementUser.o: powermanagement.h powermanagementUser