📄 makefile
字号:
## Makefile for TriMedia pSOS components# Copyright (c) 1996,2000 TriMedia Technologies Inc.## Module name : Makefile 1.32## Last update : 11:15:57 - 99/02/15## This makefile is called from the user's psos application makefile# to compile the pSOS configuration files.# See its usage in $(TCS)/examples/psos/psos_demo1/Makefile.simple.# When you use $(TCS)/examples/psos/psos_demo1/Makefile, its usage is# hidden in $(PSOS_SYSTEM)/include/Makefile.inc.## Note on using this with Microsoft's nmake:# When using nmake to build your application, refer to the comments# at the top of $(TCS)/examples/psos/psos_demo1/Makefile.simple# In this file, all / should be changed to \#APPDIR = .SOURCE = $(PSOS_SYSTEM)/configsCINCS = -I$(PSOS_SYSTEM)/include -I$(SOURCE) -BOBJS = sysinit.o bsp.o pnacfg.o drv_conf.o KI_OBJS = ki_util.o ki_dir.o ki_queues.o kernel_interface.opsosm_dynamic_XTRA = ki_tm_$(ENDIAN).dllpsosm_nodynamic_XTRA = ki.aconfigs: bsp.a $($(PSOS)_$(DYNAMIC)_XTRA)# $(AR) should be passed in from $(PSOS_SYSTEM)/include/Makefile.inc# or from the user's psos application makefilebsp.a : $(OBJS) ; $(AR) rcv $@ $(OBJS)ki.a : $(KI_OBJS) ; $(AR) rcv $@ $(KI_OBJS)ki_tm_$(ENDIAN).dll : $(KI_OBJS) ; $(CC) -o $@ $(KI_OBJS) -btype dll \ -bimmediate $(PSOS_SYSTEM)/sys/os/psosm_tm_$(ENDIAN).dll \ `cat $(PSOS_SYSTEM)/include/KI_API.export`ki_queues.o: $(SOURCE)/ki_queues.c @ echo "Compiling $<" $(CC) $(CFLAGS) $(CINCS) $< -partial -o $@ -tmld -map_commons \ -sectionrename bss=ki_queues -sectionproperty bss=uncached --ki_dir.o: $(SOURCE)/ki_dir.c @ echo "Compiling $<" $(CC) $(CFLAGS) $(CINCS) $< -partial -o $@ -tmld -map_commons \ -sectionrename bss=ki_dir -sectionproperty bss=shared \ -sectionproperty bss=uncached --%.o: $(SOURCE)/%.c @ echo "Compiling $<" $(CC) -c -I$(APPDIR) $(CFLAGS) $(CINCS) -o $@ $<
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -