📄 makefile
字号:
project = avr_simulatorprefix = /usr/localobjs = avr_simulator.o func_command.o hardware.o xs_wtip.o\ buttons_menu.o menu_options.o menu_memory.o help.o x_includes = -I/opt/X11R6/includemotif_includes = -I/usr/local/include# X and Motif libraries and locations.xlib = -L/opt/X11R6/lib -lXpm -lXmu -lXp -lXext -lXt -lX11 motif = -L/usr/local/lib -lXm thread = -lpthread# Using gcc compiler....CC = gccDEBUG = -g# Our flags to create object files....CFLAGS = $(motif_includes) $(x_includes) -Wall -ansi $(DEBUG).SUFFIXES:.SUFFIXES: .c .o.PHONY: clean locale install uninstall.IGNORE: clean uninstall#===========================================================================$(project) : $(objs) @echo "Linking avr_simulator" $(CC) -o $(project) $(objs) $(motif) $(xlib) $(thread)#===========================================================================help.o: help.h types.hmenu_memory.o: menu_memory.h types.hmenu_options.o: menu_options.h types.hhardware.o: hardware.h types.hfunc_command.o: func_command.h types.hbuttons_menu.o: buttons_menu.h types.havr_simulator.o: avr_simulator.h types.h commands.h microcontrollers.h avr/*.h$(objs): global.h#===========================================================================clean: @echo "Cleaning..." rm -f *~ core $(objs) $(project) avr/*~ @echo "Cleaned"locale: xgettext -j -o $(project).po -k_ *.cinstall: uninstall install $(project) $(prefix)/bin mkdir $(prefix)/share/$(project) install -m 644 *.xpm $(prefix)/share/$(project)uninstall: rm -rf $(prefix)/bin/$(project) $(prefix)/share/$(project)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -