18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ciOUTPUT=./ 38c2ecf20Sopenharmony_ciifeq ("$(origin O)", "command line") 48c2ecf20Sopenharmony_ci OUTPUT := $(O)/ 58c2ecf20Sopenharmony_ciendif 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciDESTDIR = 88c2ecf20Sopenharmony_cibindir = /usr/bin 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciINSTALL = /usr/bin/install 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cidefault: all 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci$(OUTPUT)centrino-decode: ../i386/centrino-decode.c 168c2ecf20Sopenharmony_ci $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $< 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci$(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c 198c2ecf20Sopenharmony_ci $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $< 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciall: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciclean: 248c2ecf20Sopenharmony_ci rm -rf $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciinstall: 278c2ecf20Sopenharmony_ci $(INSTALL) -d $(DESTDIR)${bindir} 288c2ecf20Sopenharmony_ci $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir} 298c2ecf20Sopenharmony_ci $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir} 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci.PHONY: all default clean install 32